Skip to content

Commit

Permalink
backport fix copy of dseg.tsv following templateflow update to LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard authored and effigies committed Jul 17, 2024
1 parent d90f652 commit 708cf3e
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 708cf3e

Please sign in to comment.