poldracklab / pydeface

defacing utility for MRI images
MIT License
110 stars 42 forks source link

How do I set the path? #47

Closed velpegor closed 1 year ago

velpegor commented 2 years ago

image

image

I don't know how to set it up. help me

ofgulban commented 2 years ago

Hi @velpegor , are you planning to use pydeface from your command line? In that case you do not need to edit the initial_checks functions. Instead, for example. you can do:

pydeface /path/to/T1w.nii.gz --template /path/to/template.nii.gz --facemask /path/to/facemask.nii.gz

Maybe this pull request might also be helpful to explain how the optional parameters are used from the command line interface: https://github.com/poldracklab/pydeface/pull/15

If these were not helpful, please elaborate further on the issue that you are having and tell what you want to accomplish.

ofgulban commented 1 year ago

No response from OP, closing for now.