Skip to content
Snippets Groups Projects
Commit b7ab6831 authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro :speech_balloon:
Browse files

Fix bug

parent 3643e93c
No related branches found
No related tags found
No related merge requests found
...@@ -31,9 +31,8 @@ def run(ctx, ...@@ -31,9 +31,8 @@ def run(ctx,
if os.path.exists(FreeSurfer_dir): if os.path.exists(FreeSurfer_dir):
shutil.rmtree(FreeSurfer_dir) shutil.rmtree(FreeSurfer_dir)
env = dict(os.environ, SUBJECTS_DIR=os.getcwd()) env = dict(os.environ, SUBJECTS_DIR=os.getcwd() + "/" + ctx.subject)
os.environ["SUBJECTS_DIR"] = subjects_dir + "/" + ctx.subject
T1_path = subjects_dir + "/" + T1_unbiased T1_path = subjects_dir + "/" + T1_unbiased
T2_path = subjects_dir + "/" + T2_FLAIR_unbiased T2_path = subjects_dir + "/" + T2_FLAIR_unbiased
......
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