embl-cba / elastixWrapper

13 stars 2 forks source link

Macro recording issue #14

Open tischi opened 2 years ago

tischi commented 2 years ago

When recording a macro the three required = false parameters are not recorded:

    @Parameter( label = "Fixed image mask file", required = false )
    public File fixedMaskFile;

    @Parameter( label = "Use moving image mask" )
    public boolean useMovingMask;

    @Parameter( label = "Moving image mask file", required = false )
    public File movingMaskFile;

    @Parameter( label = "Use initial transformation" )
    public boolean useInitialTransformation;

    @Parameter( label = "Initial transformation file", required = false )
    public File initialTransformationFile;

However, when then trying to run the macro, a GUI will pop up asking the user to specify those three parameters.

Could one somehow change the code such that the recorded macro would just run?