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
Copy file name to clipboardExpand all lines: bidscoin/bidsapps/slicereport.py
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
# NB: Set os.environ['DUECREDIT'] values as early as possible to capture all credits
5
5
importos
6
6
importsys
7
-
if__name__=="__main__"andos.getenv('DUECREDIT_ENABLE','').lower() notin ('1', 'yes', 'true') andlen(sys.argv) >1: # Ideally the due state (`self.__active=True`) should also be checked (but that's impossible)
7
+
if__name__=="__main__"andos.getenv('DUECREDIT_ENABLE','').lower() notin ('1', 'yes', 'true') andlen(sys.argv) >1: # Ideally, the due state (`self.__active=True`) should also be checked (but that's impossible)
subject=rawfolder/subject.name.replace('sub-', subprefix.replace('*','')) # TODO: This assumes e.g. that the subject-ids in the rawfolder did not contain BIDS-invalid characters (such as '_')
0 commit comments