Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: switch to integer for the skip flag #499

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

fedorov
Copy link
Member

@fedorov fedorov commented Jun 19, 2024

re #498

It appears that defaults are ignored for boolean SEM parameters. Even though the parameter was set to true in

<boolean>
<name>skipEmptySlices</name>
<label>Skip empty slices</label>
<channel>input</channel>
<longflag>skip</longflag>
<default>true</default>
<description>Skip empty slices while encoding segmentation image. By default, empty slices will not be encoded, resulting in a smaller output file size.</description>
</boolean>
, the default reported by the executable was 0.

Local tests show that integer parameters do not have this problem.

Also switch to the most recent has for SlicerExecutionModel.

re #498

It appears that defaults are ignored for boolean SEM parameters. Even though
the parameter was set to true in https://github.com/QIICR/dcmqi/blob/2990dbd01d1fa61c16777950732ff19dc87318e3/apps/seg/itkimage2segimage.xml#L58-L65,
the default reported by the executable was 0.

Local tests show that integer parameters do not have this problem.

Also switch to the most recent has for SlicerExecutionModel.
@fedorov fedorov linked an issue Jun 19, 2024 that may be closed by this pull request
@fedorov fedorov merged commit 2d92484 into master Jun 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI default value appears to be ignored
1 participant