Skip to content

Commit ddfcce4

Browse files
Update test_ivim_synthetic.py
1 parent a3fd807 commit ddfcce4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/IVIMmodels/unit_tests/test_ivim_synthetic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
@pytest.mark.slow
1313
def test_generated(algorithmlist, ivim_data, SNR, rtol, atol, fit_count, rician_noise, save_file, save_duration_file, use_prior,eng):
1414
# assert save_file == "test"
15-
ivim_algorithm, requires_matlab = algorithmlist
15+
ivim_algorithm, requires_matlab, deep_learning = algorithmlist
1616
if requires_matlab and eng is None:
1717
pytest.skip(reason="Running without matlab; if Matlab is available please run pytest --withmatlab")
18+
if deep_learning:
19+
pytest.skip(
20+
reason="Slow drifting in performance not yet implmented for deep learning algorithms") # requieres training a network per b-value set and inferencing all data in 1 go. So not 1 data point per time, but all data in 1 go :). Otherwise network will be trained many many times...
1821
rng = np.random.RandomState(42)
1922
# random.seed(42)
2023
S0 = 1

0 commit comments

Comments
 (0)