Commit 0b35a1aa authored by William Clarke's avatar William Clarke
Browse files

Update test for stability.

parent 8065edf6
......@@ -150,7 +150,8 @@ def test_dynMRS_fit(fixed_ratio_mrs):
baseline_order=0,
metab_groups=[0, 0],
rescale=False)
res, _ = dyn_obj.fit()
init = dyn_obj.initialise(indiv_init=None)
res, _ = dyn_obj.fit(init=init)
concs = res.data_frame.filter(like='conc').to_numpy()
assert np.allclose(concs, [1, 1, 1, 1], atol=0.1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment