Skip to content

Commit

Permalink
Merge pull request #33 from BIDS-Apps/chrisfilo-patch-2
Browse files Browse the repository at this point in the history
Skip vols in study template
  • Loading branch information
chrisgorgo authored May 28, 2017
2 parents cc3912d + 5c486bb commit 3788e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ def run(command, env={}, ignore_errors=False):
if len(subjects_to_analyze) > 1:
# generate study specific template
fsids = ["sub-%s"%s for s in subjects_to_analyze]
cmd = "make_average_subject --no-symlink --out " + args.template_name + " --subjects " + " ".join(fsids)
# skipping volumetric average due to https://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg51822.html
cmd = "make_average_subject --no-symlink --no-vol --out " + args.template_name + " --subjects " + " ".join(fsids)
print(cmd)
if os.path.exists(os.path.join(output_dir, args.template_name)):
rmtree(os.path.join(output_dir, args.template_name))
Expand Down

0 comments on commit 3788e29

Please sign in to comment.