Skip to content

Commit a58f531

Browse files
committed
Added more requirements and trying no continue on error and file fixes
1 parent 9f48d42 commit a58f531

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/unit_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77

88
runs-on: ${{ matrix.os }}
9-
continue-on-error: true
9+
continue-on-error: false
1010
strategy:
1111
fail-fast: false
1212
matrix:

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ torchio
44
torch
55
logging
66
joblib
7-
dipy
7+
dipy
8+
matplotlib

src/original/OGC_AmsterdamUMC/LSQ_fitting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def goodness_of_fit(bvalues, Dt, Fp, Dp, S0, dw_data, Fp2=None, Dp2=None):
705705
# plt.show()
706706
# print(R2[vox])
707707
return R2, adjust
708-
ed_R2
708+
# ed_R2
709709

710710
def MSE(bvalues, Dt, Fp, Dp, S0, dw_data):
711711
"""

utils/data_simulation/ivim_simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import torch
22
import numpy as np
33

4-
from utils.ivim.ivim_fit import ivim_parameters_to_signal
4+
from utils.ivim.forward_model import ivim_parameters_to_signal
55

66

77
def simulate_ivim_signal(D, Dp, f, S0, bvalues, SNR_array, rg):

0 commit comments

Comments
 (0)