Skip to content
Snippets Groups Projects
Commit d83d340f authored by Beliy Nikita's avatar Beliy Nikita
Browse files

changed folder from aus to auxiliary

parent 1329ed2f
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment