Skip to content

Argument order matters to nibabies-wrapper #331

@chaselgrove

Description

@chaselgrove

What happened?

The order of arguments to nibabies-wrapper matters when using -i. The command (given separately) fails with:

The selected working directory is a subdirectory of the input BIDS folder. Please modify the output path.

If -i and -w are given after the positional arguments, this doesn't happen.

What command did you use?

nibabies-wrapper singularity \
    -i nibabies-23.1.0.sif \
    -w `pwd`/tmp \
    `pwd`/bcp \
    `pwd`/output \
    participant

What version of NiBabies are you using?

23.1.0

Relevant log output

No response

Add any additional information or context about the problem here.

nibabies-23.1.0.sif must exist, but it doesn't matter if bcp, output, or tmp exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions