Skip to content

Commit

Permalink
Merge pull request #499 from QIICR/498-fix-skip-option
Browse files Browse the repository at this point in the history
bug: switch to integer for the skip flag
  • Loading branch information
fedorov authored Jun 19, 2024
2 parents 1f0ae64 + bc19b0d commit 2d92484
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeExternals/SlicerExecutionModel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if(NOT DEFINED SlicerExecutionModel_DIR AND NOT ${CMAKE_PROJECT_NAME}_USE_SYSTEM

ExternalProject_SetIfNotDefined(
${proj}_REVISION_TAG
"62d0121dbb0fb057ebbd7c9ab84520accacec8bc"
"4325526343f582dd2080d0ffd93a63c8817dfb95"
QUIET
)

Expand Down
1 change: 1 addition & 0 deletions apps/seg/Testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ foreach(seg_size ${TEST_SEG_SIZES})
--inputImageList ${BASELINE}/${seg_size}/nrrd/label.nrrd
--inputDICOMDirectory ${BASELINE}/${seg_size}/image
--outputDICOM ${MODULE_TEMP_DIR}/${seg_size}_seg.dcm
--skip 0
)

dcmqi_add_test(
Expand Down
6 changes: 3 additions & 3 deletions apps/seg/itkimage2segimage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@
<parameters advanced="true">
<label>Advanced processing parameters</label>

<boolean>
<integer>
<name>skipEmptySlices</name>
<label>Skip empty slices</label>
<channel>input</channel>
<longflag>skip</longflag>
<default>true</default>
<default>1</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>
</integer>

<boolean>
<name>useLabelIDAsSegmentNumber</name>
Expand Down

0 comments on commit 2d92484

Please sign in to comment.