Skip to content

Commit 6fa29f6

Browse files
Fixed call to load from config.json using string data format as parameter for resolution
1 parent b750907 commit 6fa29f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
data_file = str(config['t1'])
2828

2929
# set the output resolution
30-
out_res = tuple(config['outres'])
30+
out_res = [ int(v) for v in config['outres'].split(" ")]
3131

3232
# we load the input T1w that we would like to resample
3333
img = nib.load(data_file)

0 commit comments

Comments
 (0)