File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -177,11 +177,8 @@ def log_species_to_calculate(self,
177177 Args:
178178 species_keys (List[int]): Entries are T3 species indices.
179179 species_dict (dict): The T3 species dictionary.
180-
181- Todo:
182- Log the reasons one by one with line breaks and enumerate
183180 """
184- if len (species_keys ):
181+ if len (species_keys ) and any ( spc_dict [ 'compute_thermo' ] for spc_dict in species_dict . values ()) :
185182 self .info ('\n \n Species to calculate thermodynamic data for:' )
186183 max_label_length = max ([len (spc_dict ['QM label' ])
187184 for key , spc_dict in species_dict .items () if key in species_keys ])
@@ -193,6 +190,8 @@ def log_species_to_calculate(self,
193190 self .info (f'-----{ space1 } ------{ space2 } -----------------------------' )
194191 for key in species_keys :
195192 spc_dict = species_dict [key ]
193+ if not spc_dict ['compute_thermo' ]:
194+ continue
196195 smiles = spc_dict ['object' ].molecule [0 ].to_smiles ()
197196 space1 = ' ' * (max_label_length - len (spc_dict ['QM label' ]) + 1 )
198197 space2 = ' ' * (max_smiles_length - len (smiles ) + 1 )
You can’t perform that action at this time.
0 commit comments