File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1719,12 +1719,17 @@ def spawn_ts_jobs(self):
17191719 for method in self .ts_adapters :
17201720 family_known = (rxn .family is not None
17211721 and rxn .family in ts_adapters_by_rmg_family )
1722+ admit_unknown_family = (not family_known
1723+ and method in ts_adapters_for_unknown_unimolecular
1724+ and rxn .is_unimolecular ())
17221725 if method in all_families_ts_adapters \
17231726 or (family_known and method in ts_adapters_by_rmg_family [rxn .family ]) \
1724- or (not family_known
1725- and method in ts_adapters_for_unknown_unimolecular
1726- and rxn .is_unimolecular ()) \
1727+ or admit_unknown_family \
17271728 or 'mock' in method :
1729+ if admit_unknown_family :
1730+ logger .info (f'Admitting TS adapter { method !r} for reaction { rxn .label } '
1731+ f'via ts_adapters_for_unknown_unimolecular '
1732+ f'(RMG family is { rxn .family !r} ).' )
17281733 self .run_job (job_type = 'tsg' ,
17291734 job_adapter = method ,
17301735 reactions = [rxn ],
You can’t perform that action at this time.
0 commit comments