Skip to content

Commit

Permalink
fix copy of dseg.tsv following templateflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed Mar 20, 2024
1 parent 45c2e2f commit 05326ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,9 @@ def _warn_redirect(message, category, filename, lineno, file=None, line=None):
from niworkflows.utils.misc import _copy_any
from templateflow import api

dseg_tsv = str(api.get('fsaverage', suffix='dseg', extension=['.tsv']))
dseg_tsv = str(

Check warning on line 416 in smriprep/cli/run.py

View check run for this annotation

Codecov / codecov/patch

smriprep/cli/run.py#L416

Added line #L416 was not covered by tests
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, str(Path(output_dir) / 'smriprep' / 'desc-aparcaseg_dseg.tsv'))
logger.log(25, 'sMRIPrep finished without errors')
Expand Down

0 comments on commit 05326ae

Please sign in to comment.