Skip to content

Commit

Permalink
fixed fitting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Jan 23, 2024
1 parent 4524214 commit d889088
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/test_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,27 @@ def dataset() -> HDXDataSet:

@pytest.fixture()
def hdxm_apo(dataset: HDXDataSet) -> HDXMeasurement:
with cfg.context({"analysis.drop_first": 1}):
hdxm = HDXMeasurement.from_dataset(dataset, state="SecB_tetramer", d_percentage=100.0)
hdxm = HDXMeasurement.from_dataset(
dataset, state="SecB_tetramer", d_percentage=100.0, drop_first=1
)

return hdxm


@pytest.fixture()
def hdxm_dimer(dataset: HDXDataSet) -> HDXMeasurement:
with cfg.context({"analysis.drop_first": 1}):
hdxm = HDXMeasurement.from_dataset(dataset, state="SecB_dimer", d_percentage=100.0)
hdxm = HDXMeasurement.from_dataset(
dataset, state="SecB_dimer", d_percentage=100.0, drop_first=1
)

return hdxm


@pytest.fixture()
def hdxm_apo_red(dataset: HDXDataSet) -> HDXMeasurement:
with cfg.context({"analysis.drop_first": 1}):
hdxm = HDXMeasurement.from_dataset(dataset, state="SecB_tetramer_red", d_percentage=100.0)
hdxm = HDXMeasurement.from_dataset(
dataset, state="SecB_tetramer_red", d_percentage=100.0, drop_first=1
)

return hdxm

Expand Down

0 comments on commit d889088

Please sign in to comment.