Skip to content

How to save defaced output in a different directory (from input) when using --applyto argument. #50

@anandsaini024

Description

@anandsaini024

I am using pydeface 2.0.2 on docker. Following is the command I am using to deface my multiple .nii files using --applyto argument:

docker run -v /home/ .. /outputs:/output -v /home/ .. /inputs/:/input pydeface:0.1.2 pydeface --outfile /output/defaced.nii.gz --applyto /input/*.nii.gz --outfile /output/ --force /input/sample_file_1.nii.gz

Pydeface command is basically as follows:

pydeface --outfile /output/defaced.nii.gz --applyto /input/*.nii.gz --outfile /output/ --force /input/sample_file_1.nii.gz

This works fine and save the defaced output in my input directory and not in the outfile directory where I want to store the output. Can you please let me know what corrections can be made to save defaced output in a separate directory to that of input using --applyto argument?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions