Skip to content

Commit 76b20d4

Browse files
committed
Fixed filepath
1 parent 01b7923 commit 76b20d4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/original/PvH_KB_NKI/DWI_Examples.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
import numpy as np
1313
from DWI_functions_standalone import generate_ADC_standalone, generate_IVIMmaps_standalone
1414
import matplotlib.pyplot as plt
15+
import pathlib
1516

1617
#Load some DWI data
17-
DWI_data = np.load(r'IVIM_b0_15_150_500.npy')
18+
file=pathlib.Path(__file__)
19+
file_path = file.with_name('IVIM_b0_15_150_500.npy').as_posix()
20+
DWI_data = np.load(file_path)
1821

1922
# Specify b values that are in the data
2023
bvalues = [0, 15, 150, 500]

0 commit comments

Comments
 (0)