Skip to content

Commit 830bdd8

Browse files
committed
Make noDicomValueChecks an input parameter.
Previously noDicomValueChecks has been marked as output parameter which is not correct in the semantics of the Slicer execution model.
1 parent fb4eea1 commit 830bdd8

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

apps/seg/itkimage2segimage.xml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,22 @@
7474
</integer>
7575

7676
<boolean>
77-
<name>useLabelIDAsSegmentNumber</name>
78-
<label>Use label ID as Segment Number</label>
79-
<channel>output</channel>
80-
<longflag>useLabelIDAsSegmentNumber</longflag>
77+
<name>noDicomValueChecks</name>
78+
<label>No DICOM Value Check</label>
79+
<channel>input</channel>
80+
<longflag>noDicomValueChecks</longflag>
8181
<default>false</default>
82-
<description>Use label IDs from ITK images as Segment Numbers in DICOM. Only works if label IDs are consecutively numbered starting from 1, otherwise conversion will fail.</description>
82+
<description>Bypass DICOM value checks when writing segmentation file. This can be useful for
83+
debugging or when taking over attributes from non-compliant DICOM image files.</description>
8384
</boolean>
8485

8586
<boolean>
86-
<name>noDicomValueChecks</name>
87-
<label>No DICOM Value Check</label>
87+
<name>useLabelIDAsSegmentNumber</name>
88+
<label>Use label ID as Segment Number</label>
8889
<channel>output</channel>
89-
<longflag>noDicomValueChecks</longflag>
90+
<longflag>useLabelIDAsSegmentNumber</longflag>
9091
<default>false</default>
91-
<description>Bypass DICOM value checks when writing segmentation file. This can be useful for debugging or when taking over attributes from non-compliant DICOM image files.</description>
92+
<description>Use label IDs from ITK images as Segment Numbers in DICOM. Only works if label IDs are consecutively numbered starting from 1, otherwise conversion will fail.</description>
9293
</boolean>
9394

9495
<boolean>

0 commit comments

Comments
 (0)