File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1818 fit_rates_half_time_interpolate ,
1919 GenericFitResult ,
2020)
21- from pyhdx .batch_processing import yaml_to_hdxmset
21+ from pyhdx .batch_processing import StateParser
2222from pyhdx .models import HDXMeasurementSet
2323
2424cwd = Path (__file__ ).parent
@@ -269,8 +269,10 @@ def test_batch_fit(self, tmp_path):
269269 # batch fit on delta N/C tail dataset
270270 def test_batch_fit_delta (self , tmp_path ):
271271 yaml_file = input_dir / "data_states_deltas.yaml"
272- yaml_dict = yaml .safe_load (yaml_file .read_text ())
273- hdxm_set = yaml_to_hdxmset (yaml_dict , data_dir = input_dir )
272+ yaml_spec = yaml .safe_load (yaml_file .read_text ())
273+ parser = StateParser (yaml_spec , data_src = input_dir )
274+
275+ hdxm_set = parser .load_hdxmset ()
274276 guess_output = csv_to_dataframe (output_dir / "ecSecB_guess.csv" )
275277
276278 gibbs_guess = hdxm_set [0 ].guess_deltaG (guess_output ["rate" ])
You can’t perform that action at this time.
0 commit comments