Skip to content

Commit 1800d99

Browse files
add eng to test
add eng to test remove unused imports
1 parent 62c50a9 commit 1800d99

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

tests/IVIMmodels/unit_tests/test_ivim_fit.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import numpy as np
22
import numpy.testing as npt
33
import pytest
4-
import json
5-
import pathlib
64
import time
75
from src.wrappers.OsipiBase import OsipiBase
86
#run using python -m pytest from the root folder

tests/IVIMmodels/unit_tests/test_ivim_synthetic.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import numpy as np
22
import numpy.testing as npt
33
import pytest
4-
import json
5-
import pathlib
6-
import os
74
import csv
8-
import random
95
import datetime
106

117
from src.wrappers.OsipiBase import OsipiBase
@@ -14,7 +10,7 @@
1410
#run using pytest <path_to_this_file> --saveFileName test_output.txt --SNR 50 100 200
1511
#e.g. pytest -m slow tests/IVIMmodels/unit_tests/test_ivim_synthetic.py --saveFileName test_output.csv --SNR 10 50 100 200 --fitCount 20
1612
@pytest.mark.slow
17-
def test_generated(algorithmlist, ivim_data, SNR, rtol, atol, fit_count, rician_noise, save_file, save_duration_file, use_prior):
13+
def test_generated(algorithmlist, ivim_data, SNR, rtol, atol, fit_count, rician_noise, save_file, save_duration_file, use_prior,eng):
1814
# assert save_file == "test"
1915
ivim_algorithm, requires_matlab = algorithmlist
2016
if requires_matlab and eng is None:

0 commit comments

Comments
 (0)