Skip to content

In twolevel_modelbuild and twolevel_dbm if non-validated args are passed, print a warning to user #130

@CMonnin

Description

@CMonnin

to ensure command isn't malformed.

./optimized_antsMultivariateTemplateConstruction/twolevel_modelbuild.sh \
inputs.csv \
--firstlevel-starting-target target1.nii.gz \
--firstlevel-starting-target-mask  target1_mask.nii.gz \
--secondlevel-starting-target target2.nii.gz \
--secondlevel-starting-target-mask target2_mask.nii.gz \
--masks masks.csv \
--walltime-nonlinear 00:30:00

would run but would be incorrect leading to erroneous results.

Something like:
"You have submitted a run command with non-validated arguments:
[the submitted command]
Ensure that it follows the correct formation
twolevel_modelbuild.sh [validated arguments] [input.csv] [non-validated arguments]"

maybe with a y/n confirmation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions