We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9011536 commit 8d4e08eCopy full SHA for 8d4e08e
CPAC/anat_preproc/ants.py
@@ -296,7 +296,7 @@ def init_brain_extraction_wf( # noqa: PLR0913
296
297
# Set up spatial normalization
298
settings_file = (f'antsBrainExtraction_{normalization_quality}.json' if use_laplacian else f'antsBrainExtractionNoLaplacian_{normalization_quality}.json')
299
- norm = pe.Node(Registration(from_file=as_file(files('CPAC.anat_preproc').joinpath('data').joinpath(settings_file))),
+ norm = pe.Node(Registration(from_file=str(files('CPAC.anat_preproc').joinpath('data').joinpath(settings_file))),
300
name='norm',
301
n_procs=omp_nthreads,
302
mem_gb=1.7,
0 commit comments