diff --git a/example1/resources/plugins/bidsify_plugin.py b/example1/resources/plugins/bidsify_plugin.py index fa8f49ff971cf0af48ef4cb7229886863086acf4..7cfafc451fe787128c9018093e94a702658f7b25 100644 --- a/example1/resources/plugins/bidsify_plugin.py +++ b/example1/resources/plugins/bidsify_plugin.py @@ -39,10 +39,10 @@ def SessionEP(scan): sid = -1 checkSeries(path, sub, ses, False) # copytng behevioral data - aux_input = os.path.join(rawfolder, sub, ses, "aux") + aux_input = os.path.join(rawfolder, sub, ses, "auxiliary") if ses in ("ses-LCL", "ses-HCL"): if not os.path.isdir(aux_input): - logger.error("Session {}/{} do not contain aux folder" + logger.error("Session {}/{} do not contain auxiliary folder" .format(sub, ses)) raise FileNotFoundError("folder {} not found" .format(aux_input)) diff --git a/example1/resources/plugins/rename_plugin.py b/example1/resources/plugins/rename_plugin.py index 576399e5951fc83fd42b54f43ef7ecdc67bb5878..bafe39b2bbc9481b68186974568774d69bae5f59 100644 --- a/example1/resources/plugins/rename_plugin.py +++ b/example1/resources/plugins/rename_plugin.py @@ -159,17 +159,16 @@ def SessionEndEP(session: BidsSession): session.getPath(True)) out_path = os.path.join(path, "MRI") - if not checkSeries(out_path, - session.subject, session.session, - False): - return 1 + checkSeries(out_path, + session.subject, session.session, + False) # parcing log files if session.session == "ses-STROOP": return 0 logs = os.path.join(session.in_path, "inp") - aux_d = os.path.join(path, "aux") + aux_d = os.path.join(path, "auxiliary") if not os.path.isdir(logs): raise NotADirectoryError(logs)