Skip to content

[feature proposal] BIDS directory as input #52

Description

@neurorepro

Hello,

Would it be of interest to add a feature so that pydeface accepts a BIDS directory as input, to make pydeface potentially run as a BIDS app ?

Many implementations are possible, with one possible first iteration e.g. relying on pybids and involving as parameters:

  • a path to a BIDS directory
  • an optional subject (all by default)
  • an optional suffix (T1w by default)

Best practice seems to be replacing the original file with the defaced one so the output could be:

  • the original non defaced file renamed as ..._desc-nondefaced_..._<suffix>.nii.gz
  • saving the defaced file with the name of the original one (or e.g. ..._desc-defaced_...<suffix>.nii.gz)

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