Skip to content

Commit

Permalink
FIX: Select volumetric dseg.tsv from recent TemplateFlow releases (#3257
Browse files Browse the repository at this point in the history
)
  • Loading branch information
effigies authored Jul 18, 2024
2 parents 1755bc5 + 2aefdfd commit c673603
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion fmriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,15 @@ def main():
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(config.execution.fmriprep_dir / "desc-aseg_dseg.tsv")
)
Expand Down

0 comments on commit c673603

Please sign in to comment.