File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -107,20 +107,20 @@ def execute(self) -> None:
107107 )
108108 phylogeny_process .execute ()
109109 # Analyze tree data
110- for msp_file in phylogeny_process .tree_files :
110+ for tree_file in phylogeny_process .tree_files :
111111 # Check for a .raxml.bestTree file
112- raxml_tree_file = self .meteor .tree_dir / f"{ msp_file .stem } .raxml.bestTree"
113- if raxml_tree_file .exists ():
114- tree_file = raxml_tree_file
115- else :
116- # If no .raxml.bestTree file exists, check for a .tree file
117- tree_file = self .meteor .tree_dir / f"{ msp_file .stem } .tree"
118- img_file = self .meteor .tree_dir / f"{ msp_file .stem } .{ self .format } "
112+ # raxml_tree_file = self.meteor.tree_dir / f"{msp_file.stem}.raxml.bestTree"
113+ # if raxml_tree_file.exists():
114+ # tree_file = raxml_tree_file
115+ # else:
116+ # # If no .raxml.bestTree file exists, check for a .tree file
117+ # tree_file = self.meteor.tree_dir / f"{msp_file.stem}.tree"
118+ img_file = self .meteor .tree_dir / f"{ tree_file .stem } .{ self .format } "
119119 # try:
120120 msp_tree = Tree (str (tree_file .resolve ()))
121121 # Generate a distance msp by msp
122122 matrix = self .get_msp_distance (msp_tree )
123- matrix .to_csv (self .meteor .tree_dir / f"{ msp_file .stem } .tsv" , sep = "\t " )
123+ matrix .to_csv (self .meteor .tree_dir / f"{ tree_file .stem } .tsv" , sep = "\t " )
124124 # Draw trees
125125 if not self .format :
126126 pass
You can’t perform that action at this time.
0 commit comments