Skip to content

Commit

Permalink
fix t1 list
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Jan 5, 2023
1 parent 1082f0d commit c972e95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/scil_validate_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ def get_data(layout, nSub, dwis, t1s, fs, default_readout, clean):
elif len(t1_nSess) == 0:
logging.info('No T1 file found.')
else:
t1_paths = [curr_t1.path for curr_t1 in t1_nSess]
logging.info('More than one T1 file found.'
' [{}]'.format(','.join(t1_nSess)))
' [{}]'.format(','.join(t1_paths)))

return {'subject': nSub,
'session': nSess,
Expand Down

0 comments on commit c972e95

Please sign in to comment.