Skip to content

Commit 24276ee

Browse files
committed
Removed all local paths from the file
1 parent 9224ddf commit 24276ee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

phantoms/MR_XCAT_qMRI/sim_ivim_sig.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import os
77

88
import sys
9-
sys.path.append('C:/TF_IVIM_OSIPI/TF2.4_IVIM-MRI_CodeCollection')
10-
119
from utilities.data_simulation.Download_data import download_data
1210

1311
##########
@@ -23,7 +21,7 @@ def phantom(bvalue, noise, TR=3000, TE=40, motion=False, rician=False, interleav
2321
states = [1]
2422
for state in states:
2523
# Load the .mat file
26-
mat_data = loadmat('download/Phantoms/XCAT_MAT_RESP/XCAT5D_RP_' + str(state) + '_CP_1.mat')
24+
mat_data = loadmat('../../download/Phantoms/XCAT_MAT_RESP/XCAT5D_RP_' + str(state) + '_CP_1.mat')
2725

2826
# Access the variables in the loaded .mat file
2927
XCAT = mat_data['IMG']
@@ -433,7 +431,7 @@ def parse_bvalues_file(file_path):
433431
elif args.bvalue:
434432
bvalues = {"cmd": args.bvalue}
435433
else:
436-
bvalues = parse_bvalues_file("phantoms\\MR_XCAT_qMRI\\b_values.json")
434+
bvalues = parse_bvalues_file("b_values.json")
437435

438436

439437
noise = args.noise

0 commit comments

Comments
 (0)