Skip to content

Commit 9f48d42

Browse files
committed
Added requirements and syntax fix to allow testing
1 parent f84e432 commit 9f48d42

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ numpy
22
scipy
33
torchio
44
torch
5-
logging
5+
logging
6+
joblib
7+
dipy

src/wrappers/ivim_fit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def ivim_fit(author, signals=None, bvalues=None, data=None, initial_guess=None,
2424

2525

2626
# Some implementations can only fit a voxel at a time (i.e. all inputs must be 2-dimensional)
27-
requires_2D = True if author in []
28-
requires_4D = True if author in []
27+
requires_2D = True if author in [] else False
28+
requires_4D = True if author in [] else False
2929

3030
# Bounds and initial guess for parameters
3131
initial_guess = []

0 commit comments

Comments
 (0)