Skip to content

Commit cee9104

Browse files
Update Generalized D class
1 parent d889514 commit cee9104

File tree

4 files changed

+28
-12
lines changed

4 files changed

+28
-12
lines changed

gui_layout.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
# Form implementation generated from reading ui file 'gui_layout.ui'
44
#
5-
# Created: Sun Feb 11 21:44:47 2018
6-
# by: PyQt4 UI code generator 4.10
5+
# Created by: PyQt4 UI code generator 4.11.4
76
#
87
# WARNING! All changes made in this file will be lost!
98

main.py

+2
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ def __init__(self, parent=None):
250250
self.lAlignmentDirBtn.clicked.connect(lambda: self.openDirectory(self.lAlignmentDirEntry))
251251
self.lSpeciesTreeBtn.clicked.connect(lambda: self.getFileName(self.lSpeciesTreeEntry))
252252
self.lStatisticFileBtn.clicked.connect(lambda: self.getFileName(self.lStatisticFileEntry))
253+
self.calcGenD.plot = False
254+
self.calcGenD.meta = ""
253255

254256
# when an alignment is selected update the combo boxes
255257
self.connect(self.lAlignmentEntry, QtCore.SIGNAL('FILE_SELECTED'), lambda: self.updateTaxonComboBoxes(self.lStatisticSourceComboBoxes, self.lAlignmentEntry))

module/gui_layout.py

+11-6
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def setupUi(self, PhylogeneticVisualization):
541541
self.verticalLayout_21.addWidget(self.widget)
542542
self.raxmlToolBox.addItem(self.raxmlOptionsPage, _fromUtf8(""))
543543
self.graphOptionsPage = QtGui.QWidget()
544-
self.graphOptionsPage.setGeometry(QtCore.QRect(0, 0, 949, 659))
544+
self.graphOptionsPage.setGeometry(QtCore.QRect(0, 0, 949, 542))
545545
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
546546
sizePolicy.setHorizontalStretch(0)
547547
sizePolicy.setVerticalStretch(0)
@@ -1696,12 +1696,16 @@ def setupUi(self, PhylogeneticVisualization):
16961696
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
16971697
self.horizontalLayout_73.addWidget(self.lineEdit)
16981698
self.verticalLayout_29.addLayout(self.horizontalLayout_73)
1699-
self.horizontalLayout_62 = QtGui.QHBoxLayout()
1700-
self.horizontalLayout_62.setObjectName(_fromUtf8("horizontalLayout_62"))
1699+
self.horizontalLayout_74 = QtGui.QHBoxLayout()
1700+
self.horizontalLayout_74.setContentsMargins(-1, -1, -1, 0)
1701+
self.horizontalLayout_74.setObjectName(_fromUtf8("horizontalLayout_74"))
1702+
self.checkBox = QtGui.QCheckBox(self.groupBox_3)
1703+
self.checkBox.setObjectName(_fromUtf8("checkBox"))
1704+
self.horizontalLayout_74.addWidget(self.checkBox)
17011705
self.generatePlotCB = QtGui.QCheckBox(self.groupBox_3)
17021706
self.generatePlotCB.setObjectName(_fromUtf8("generatePlotCB"))
1703-
self.horizontalLayout_62.addWidget(self.generatePlotCB)
1704-
self.verticalLayout_29.addLayout(self.horizontalLayout_62)
1707+
self.horizontalLayout_74.addWidget(self.generatePlotCB)
1708+
self.verticalLayout_29.addLayout(self.horizontalLayout_74)
17051709
self.horizontalLayout_66.addLayout(self.verticalLayout_29)
17061710
self.verticalLayout_22.addLayout(self.horizontalLayout_66)
17071711
self.lStatisticWrapperVL.addWidget(self.groupBox_3)
@@ -1827,7 +1831,7 @@ def setupUi(self, PhylogeneticVisualization):
18271831
self.scrollArea.setWidgetResizable(True)
18281832
self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
18291833
self.verboseOutputScrollable = QtGui.QWidget()
1830-
self.verboseOutputScrollable.setGeometry(QtCore.QRect(0, 0, 98, 48))
1834+
self.verboseOutputScrollable.setGeometry(QtCore.QRect(0, 0, 57, 48))
18311835
self.verboseOutputScrollable.setObjectName(_fromUtf8("verboseOutputScrollable"))
18321836
self.verticalLayout_28 = QtGui.QVBoxLayout(self.verboseOutputScrollable)
18331837
self.verticalLayout_28.setObjectName(_fromUtf8("verticalLayout_28"))
@@ -2059,6 +2063,7 @@ def retranslateUi(self, PhylogeneticVisualization):
20592063
self.label_43.setText(_translate("PhylogeneticVisualization", "Alpha:", None))
20602064
self.lAlphaEntry.setText(_translate("PhylogeneticVisualization", "0.01", None))
20612065
self.label_50.setText(_translate("PhylogeneticVisualization", "Outgroup:", None))
2066+
self.checkBox.setText(_translate("PhylogeneticVisualization", "Use Inverse", None))
20622067
self.generatePlotCB.setText(_translate("PhylogeneticVisualization", "Generate Plot", None))
20632068
self.lImageLabel.setText(_translate("PhylogeneticVisualization", "input species tree for visualization", None))
20642069
self.label_39.setText(_translate("PhylogeneticVisualization", "Reticulations", None))

module/gui_layout.ui

+14-4
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@
13131313
<x>0</x>
13141314
<y>0</y>
13151315
<width>949</width>
1316-
<height>659</height>
1316+
<height>542</height>
13171317
</rect>
13181318
</property>
13191319
<property name="sizePolicy">
@@ -3896,7 +3896,17 @@ Run RAxML -&gt; Advanced</string>
38963896
</layout>
38973897
</item>
38983898
<item>
3899-
<layout class="QHBoxLayout" name="horizontalLayout_62">
3899+
<layout class="QHBoxLayout" name="horizontalLayout_74">
3900+
<property name="bottomMargin">
3901+
<number>0</number>
3902+
</property>
3903+
<item>
3904+
<widget class="QCheckBox" name="checkBox">
3905+
<property name="text">
3906+
<string>Use Inverse</string>
3907+
</property>
3908+
</widget>
3909+
</item>
39003910
<item>
39013911
<widget class="QCheckBox" name="generatePlotCB">
39023912
<property name="text">
@@ -4179,7 +4189,7 @@ Run RAxML -&gt; Advanced</string>
41794189
<rect>
41804190
<x>0</x>
41814191
<y>0</y>
4182-
<width>98</width>
4192+
<width>57</width>
41834193
<height>48</height>
41844194
</rect>
41854195
</property>
@@ -4329,4 +4339,4 @@ Run RAxML -&gt; Advanced</string>
43294339
</widget>
43304340
<resources/>
43314341
<connections/>
4332-
</ui>
4342+
</ui>

0 commit comments

Comments
 (0)