@@ -160,8 +160,10 @@ def __init__(self, parent=None):
160
160
self .lStatisticFileCB .stateChanged .connect (lambda : self .toggleEnabled (self .lStatisticFileEntry ))
161
161
self .lStatisticFileCB .stateChanged .connect (lambda : self .toggleEnabled (self .lStatisticFileLabel ))
162
162
163
+ self .heatmapGenerate .clicked .connect (self .generateHeatmap )
163
164
self .generateFiguresBtn .clicked .connect (self .generateFigures )
164
165
166
+
165
167
# RAxML Events
166
168
self .connect (self .inputFileEntry , QtCore .SIGNAL ('FILE_SELECTED' ), lambda : self .updateTaxonComboBoxes (self .raxmlTaxonComboBoxes , self .inputFileEntry ))
167
169
self .connect (self .inputFileEntry , QtCore .SIGNAL ('FILE_SELECTED' ), lambda : self .updateTaxonComboBoxes (self .speciesTreeComboBoxes , self .inputFileEntry ))
@@ -700,6 +702,9 @@ def requestedFigures(self):
700
702
701
703
return requestedFigures
702
704
705
+ def generateHeatmap (self ):
706
+ self .updatedDisplayWindows ()
707
+
703
708
def generateFigures (self ):
704
709
if self .runComplete :
705
710
if self .raxmlInputErrorHandling ():
@@ -759,7 +764,7 @@ def updatedDisplayWindows(self):
759
764
# generate informative sites heatmap graph
760
765
if self .checkboxHeatMap .isChecked ():
761
766
self .prevGeneratedFigures .add ('Informative Sites Heat Map' )
762
- sites_to_informative , windows_to_informative_count , windows_to_informative_pct , pct_informative = self .informativeSites .calculate_informativeness ('windows' , self .raxmlOperations . windowOffset , self .heatmapPercentage .text ())
767
+ sites_to_informative , windows_to_informative_count , windows_to_informative_pct , pct_informative = self .informativeSites .calculate_informativeness ('windows' , 0 , self .heatmapPercentage . text (), alignment = self .inputFileEntry .text ())
763
768
self .heatMapWindow = heatMapWindow .HeatMapWindow ('Heat Map' , sites_to_informative )
764
769
765
770
# generate windows to informative sites line graph
0 commit comments