Skip to content

Commit 31849e4

Browse files
Update test_ivim_fit.py
1 parent 103b597 commit 31849e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/IVIMmodels/unit_tests/test_ivim_fit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def tolerances_helper(tolerances, data):
3030

3131
def test_ivim_fit_saved(data_ivim_fit_saved, eng, request, record_property):
3232
name, bvals, data, algorithm, xfail, kwargs, tolerances, skiptime, requires_matlab = data_ivim_fit_saved
33-
max_time = 0.5
33+
max_time = 0.6
3434
if requires_matlab:
3535
max_time = 2
3636
if eng is None:
@@ -72,7 +72,7 @@ def to_list_if_needed(value):
7272
npt.assert_allclose(fit_result['Dp'],data['Dp'], rtol=tolerances["rtol"]["Dp"], atol=tolerances["atol"]["Dp"])
7373
#assert fit_result['D'] < fit_result['Dp'], f"D {fit_result['D']} is larger than D* {fit_result['Dp']} for {name}"
7474
if not skiptime:
75-
assert elapsed_time < max_time, f"Algorithm {name} took {elapsed_time} seconds, which is longer than 2 second to fit per voxel" #less than 0.5 seconds per voxel
75+
assert elapsed_time < max_time, f"Algorithm {name} took {elapsed_time} seconds, which is longer than 0.6 second to fit per voxel" #less than 0.6 seconds per voxel
7676

7777
def test_default_bounds_and_initial_guesses(algorithmlist,eng):
7878
algorithm, requires_matlab = algorithmlist

0 commit comments

Comments
 (0)