Skip to content

Commit

Permalink
Fix incorrect reference to session
Browse files Browse the repository at this point in the history
parameter instead of sub_session_list's
key value for 'session' in the case
of non-longitudinal selection.
  • Loading branch information
wasciutto committed Oct 11, 2022
1 parent f5b5cb6 commit 7fe597e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clpipe/dcm2bids_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def convert2bids(dicom_dir=None, dicom_dir_format=None, bids_dir=None,
if longitudinal:
conv_args["subject"] += "sess"+ i['session']
else:
conv_args["session"] = session
conv_args["session"] = i['session']

# Unpack the conv_args
submission_string = conv_string.format(**conv_args)
Expand Down

0 comments on commit 7fe597e

Please sign in to comment.