Skip to content

Commit 1eb372f

Browse files
committed
fix scan_repl_dict check
1 parent 4529f33 commit 1eb372f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xnat_downloader/cli/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def download_scan_unformatted(self, scan, dest, scan_repl_dict, bids_num_len,
294294
scan_par = self.scan_dict[scan].parent()
295295
# the number id given to a scan (1, 2, 3, 400, 500)
296296
scan_id = self.scan_dict[scan].id()
297-
if scan not in scan_repl_dict[scan].keys():
297+
if scan not in scan_repl_dict.keys():
298298
print('{scan} not a part of dictionary, skipping')
299299
return 0
300300

0 commit comments

Comments
 (0)