@@ -56,6 +56,7 @@ def test_parse_frequencies(self):
5656 ch2o_path_terachem_output = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'formaldehyde_freq_terachem_output.out' )
5757 ncc_path_terachem_output = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'ethylamine_freq_terachem_output.out' )
5858 orca_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'orca_example_freq.log' )
59+ orca_ts_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'orca_neg_freq_ts.out' )
5960 dual_freq_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'dual_freq_output.out' )
6061 co2_xtb_freqs_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'CO2_xtb.out' )
6162 ts_xtb_freqs_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'freq' , 'TS_NH2+N2H3_xtb.out' )
@@ -72,6 +73,7 @@ def test_parse_frequencies(self):
7273 ch2o_terachem_output_freqs = parser .parse_frequencies (log_file_path = ch2o_path_terachem_output ) # TeraChem
7374 ncc_terachem_output_freqs = parser .parse_frequencies (log_file_path = ncc_path_terachem_output ) # TeraChem
7475 orca_freqs = parser .parse_frequencies (log_file_path = orca_path ) # Orca
76+ orca_ts_freqs = parser .parse_frequencies (log_file_path = orca_ts_path ) # Orca TS (imaginary mode)
7577 dual_freqs = parser .parse_frequencies (log_file_path = dual_freq_path ) # Gaussian
7678 co2_xtb_freqs = parser .parse_frequencies (log_file_path = co2_xtb_freqs_path )
7779 ts_xtb_freqs = parser .parse_frequencies (log_file_path = ts_xtb_freqs_path )
@@ -106,6 +108,10 @@ def test_parse_frequencies(self):
106108 3087.60678739 , 3447.41720077 , 3529.23879182 ], np .float64 ))
107109 np .testing .assert_almost_equal (orca_freqs ,
108110 np .array ([1151.03 , 1250.19 , 1526.12 , 1846.4 , 3010.49 , 3070.82 ], np .float64 ))
111+ np .testing .assert_almost_equal (orca_ts_freqs ,
112+ np .array ([- 1271.62 , 9.95 , 340.56 , 351.84 , 723.13 , 895.07 , 1159.62 , 1269.11 ,
113+ 1377.92 , 1448.9 , 1461.05 , 3090.01 , 3217.06 , 3220.87 , 3812.33 ],
114+ np .float64 ))
109115 np .testing .assert_almost_equal (dual_freqs ,
110116 np .array ([- 1617.8276 , 56.9527 , 76.681 , 121.4038 , 182.1572 , 194.9796 ,
111117 202.4056 , 209.9621 , 273.506 , 342.468 , 431.985 , 464.0768 ,
0 commit comments