From bec714e61451d7e67afa867226df546f00a81d7c Mon Sep 17 00:00:00 2001 From: bpinsard Date: Wed, 20 Mar 2024 14:27:14 -0400 Subject: [PATCH] backport fix copy of dseg.tsv following templateflow update for LTS --- smriprep/cli/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/smriprep/cli/run.py b/smriprep/cli/run.py index 9491a038e1..17bb6ebdd8 100644 --- a/smriprep/cli/run.py +++ b/smriprep/cli/run.py @@ -247,7 +247,9 @@ def _warn_redirect(message, category, filename, lineno, file=None, line=None): if opts.run_reconall: from templateflow import api from niworkflows.utils.misc import _copy_any - dseg_tsv = str(api.get('fsaverage', suffix='dseg', extension=['.tsv'])) + dseg_tsv = str( + api.get('fsaverage', hemi=None, atlas=None, suffix='dseg', extension=['.tsv']) + ) _copy_any(dseg_tsv, str(Path(output_dir) / 'smriprep' / 'desc-aseg_dseg.tsv')) _copy_any(dseg_tsv,