Commit 8fd4f32
committed
Fix switch_ts resetting rotors convergence flag and stale rotors_dict
delete_all_species_jobs blanket-set all output job_types to False,
including rotors and bde which are initialised to True by
initialize_output_dict. For species with no torsional modes (e.g.
cyclic TS from THF), no scan jobs are ever spawned, so rotors stays
False and check_all_done incorrectly marks the TS as unconverged —
even when opt, freq, sp, and IRC all passed.
Additionally, switch_ts did not reset rotors_dict, so
determine_rotors was never re-called for the new TS geometry and
stale scan results from the previous guess carried over.
Changes:
- Preserve the True default for rotors/bde in delete_all_species_jobs,
matching initialize_output_dict.
- Reset rotors_dict and number_of_rotors in switch_ts when
job_types['rotors'] is enabled, so the new geometry gets fresh
rotor detection.1 parent 05099fc commit 8fd4f32
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2773 | 2773 | | |
2774 | 2774 | | |
2775 | 2775 | | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
2776 | 2780 | | |
2777 | 2781 | | |
2778 | 2782 | | |
| |||
3728 | 3732 | | |
3729 | 3733 | | |
3730 | 3734 | | |
3731 | | - | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
3732 | 3742 | | |
3733 | 3743 | | |
3734 | 3744 | | |
| |||
0 commit comments