Skip to content

Commit

Permalink
Change: Co-expression Network plot: hide the dots if no edge connecte…
Browse files Browse the repository at this point in the history
…d to it.

Update Tutorial.
Set the rename checkboxs of the network plot to Enable by default.
  • Loading branch information
byemaxx committed Jun 16, 2024
1 parent 5477d70 commit af7909e
Show file tree
Hide file tree
Showing 8 changed files with 231 additions and 270 deletions.
6 changes: 6 additions & 0 deletions Docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Version: 1.107.3
## Date: 2024-06-16
### Changes:
- Change: Co-expression Network plot: hide the dots if no edge connected to it.


# Version: 1.107.2
## Date: 2024-06-16
### Changes:
Expand Down
Binary file modified Docs/MetaX_Cookbook.assets/co_network_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
246 changes: 116 additions & 130 deletions Docs/MetaX_Cookbook.md

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions utils/GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,6 @@ def show_settings_window(self):

layout.addWidget(settings_widget)
self.settings_dialog.setLayout(layout)

# set not pin to top
self.settings_dialog.setWindowFlags(self.settings_dialog.windowFlags() & ~Qt.WindowStaysOnTopHint)

self.settings_dialog.show()

Expand Down
178 changes: 73 additions & 105 deletions utils/MetaX_GUI/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<enum>Qt::LeftToRight</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>5</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
Expand Down Expand Up @@ -239,8 +239,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>391</width>
<height>80</height>
<width>496</width>
<height>373</height>
</rect>
</property>
<attribute name="label">
Expand Down Expand Up @@ -5296,7 +5296,7 @@
<item row="3" column="1">
<widget class="QCheckBox" name="checkBox_co_expr_rename_taxa">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="text">
<string>Rename Taxa</string>
Expand Down Expand Up @@ -7076,7 +7076,7 @@
<item>
<widget class="QCheckBox" name="checkBox_tf_link_net_rename_taxa">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="text">
<string>Raname Taxa</string>
Expand Down Expand Up @@ -8185,12 +8185,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>647</x>
<y>152</y>
<x>139</x>
<y>132</y>
</hint>
<hint type="destinationlabel">
<x>811</x>
<y>153</y>
<x>139</x>
<y>132</y>
</hint>
</hints>
</connection>
Expand All @@ -8201,12 +8201,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>647</x>
<y>152</y>
<x>139</x>
<y>132</y>
</hint>
<hint type="destinationlabel">
<x>975</x>
<y>153</y>
<x>139</x>
<y>132</y>
</hint>
</hints>
</connection>
Expand Down Expand Up @@ -8249,12 +8249,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>179</x>
<y>175</y>
<x>137</x>
<y>114</y>
</hint>
<hint type="destinationlabel">
<x>254</x>
<y>177</y>
<x>137</x>
<y>114</y>
</hint>
</hints>
</connection>
Expand All @@ -8265,12 +8265,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>179</x>
<y>175</y>
<x>137</x>
<y>114</y>
</hint>
<hint type="destinationlabel">
<x>329</x>
<y>177</y>
<x>137</x>
<y>114</y>
</hint>
</hints>
</connection>
Expand All @@ -8281,12 +8281,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>136</x>
<y>149</y>
<x>147</x>
<y>114</y>
</hint>
<hint type="destinationlabel">
<x>230</x>
<y>151</y>
<x>159</x>
<y>114</y>
</hint>
</hints>
</connection>
Expand All @@ -8297,12 +8297,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>136</x>
<y>149</y>
<x>147</x>
<y>114</y>
</hint>
<hint type="destinationlabel">
<x>311</x>
<y>151</y>
<x>159</x>
<y>114</y>
</hint>
</hints>
</connection>
Expand Down Expand Up @@ -8345,12 +8345,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>537</x>
<y>240</y>
<x>137</x>
<y>109</y>
</hint>
<hint type="destinationlabel">
<x>724</x>
<y>241</y>
<x>137</x>
<y>109</y>
</hint>
</hints>
</connection>
Expand All @@ -8361,12 +8361,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>537</x>
<y>240</y>
<x>137</x>
<y>109</y>
</hint>
<hint type="destinationlabel">
<x>912</x>
<y>241</y>
<x>137</x>
<y>109</y>
</hint>
</hints>
</connection>
Expand All @@ -8377,12 +8377,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>244</x>
<y>149</y>
<x>149</x>
<y>113</y>
</hint>
<hint type="destinationlabel">
<x>320</x>
<y>151</y>
<x>149</x>
<y>113</y>
</hint>
</hints>
</connection>
Expand All @@ -8393,12 +8393,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>244</x>
<y>149</y>
<x>149</x>
<y>113</y>
</hint>
<hint type="destinationlabel">
<x>395</x>
<y>151</y>
<x>149</x>
<y>113</y>
</hint>
</hints>
</connection>
Expand All @@ -8409,12 +8409,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>199</x>
<y>191</y>
<x>137</x>
<y>110</y>
</hint>
<hint type="destinationlabel">
<x>296</x>
<y>193</y>
<x>137</x>
<y>110</y>
</hint>
</hints>
</connection>
Expand All @@ -8425,12 +8425,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>199</x>
<y>191</y>
<x>137</x>
<y>110</y>
</hint>
<hint type="destinationlabel">
<x>392</x>
<y>193</y>
<x>137</x>
<y>110</y>
</hint>
</hints>
</connection>
Expand Down Expand Up @@ -8505,12 +8505,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>827</x>
<y>322</y>
<x>137</x>
<y>116</y>
</hint>
<hint type="destinationlabel">
<x>974</x>
<y>322</y>
<x>137</x>
<y>116</y>
</hint>
</hints>
</connection>
Expand All @@ -8521,12 +8521,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>827</x>
<y>322</y>
<x>137</x>
<y>116</y>
</hint>
<hint type="destinationlabel">
<x>230</x>
<y>524</y>
<x>137</x>
<y>122</y>
</hint>
</hints>
</connection>
Expand All @@ -8537,12 +8537,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>743</x>
<y>315</y>
<x>137</x>
<y>116</y>
</hint>
<hint type="destinationlabel">
<x>359</x>
<y>314</y>
<x>137</x>
<y>116</y>
</hint>
</hints>
</connection>
Expand All @@ -8553,12 +8553,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>860</x>
<y>404</y>
<x>917</x>
<y>336</y>
</hint>
<hint type="destinationlabel">
<x>932</x>
<y>352</y>
<x>1012</x>
<y>313</y>
</hint>
</hints>
</connection>
Expand All @@ -8569,44 +8569,12 @@
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>832</x>
<y>276</y>
</hint>
<hint type="destinationlabel">
<x>906</x>
<y>305</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_tf_link_net_show_label</sender>
<signal>clicked(bool)</signal>
<receiver>checkBox_tf_link_net_rename_taxa</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>825</x>
<y>280</y>
</hint>
<hint type="destinationlabel">
<x>903</x>
<y>286</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_co_expr_show_label</sender>
<signal>clicked(bool)</signal>
<receiver>checkBox_co_expr_rename_taxa</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>893</x>
<y>400</y>
<x>203</x>
<y>123</y>
</hint>
<hint type="destinationlabel">
<x>894</x>
<y>420</y>
<x>203</x>
<y>127</y>
</hint>
</hints>
</connection>
Expand Down
Loading

0 comments on commit af7909e

Please sign in to comment.