InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.37k stars 660 forks source link

BUG: Fix removal of '-' from patientId #4577

Closed hjmjohnson closed 2 months ago

hjmjohnson commented 2 months ago

The use of std::remove was not correctly implemented. After removing '-' from the string and shuffling items forward into the space, the remaining items in the string need to be explicitly erased.

PR Checklist