You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newbidsname=bids.insert_bidskeyval(dcm2niixfile.name, 'run', bids.sanitize(runindex), ignore) # Restart the run-index. NB: Unlike bidsname, newbidsname has a file extension
355
+
newbidsname=bids.insert_bidskeyval(dcm2niixfile.name, 'run', runindex, ignore) # Restart the run-index. NB: Unlike bidsname, newbidsname has a file extension
356
356
forpostfixinpostfixes:
357
357
358
-
# Patch the echo entity in the newbidsname with the dcm2niix echo info # NB: We can't rely on the bids-entity info here because manufacturers can e.g. put multiple echos in one series / run-folder
358
+
# Patch the echo entity in the newbidsname with the dcm2niix echo info # NB: We can't rely on the bids-entity info here because manufacturers can e.g. put multiple echos in one series / run-folder
359
359
if'echo'inrun['bids'] andpostfix.startswith('e'):
360
360
echonr=f"_{postfix}".replace('_e','') # E.g. postfix='e1'
0 commit comments