Open tischi opened 2 years ago
When recording a macro the three required = false parameters are not recorded:
required = false
@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?
When recording a macro the three
required = false
parameters are not recorded: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?