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: Fix removal of '-' from patientId #4577

Merged

Conversation

hjmjohnson
Copy link
Member

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

  • No API changes were made (or the changes have been approved)
  • No major design changes were made (or the changes have been approved)
  • Added test (or behavior not changed)

@hjmjohnson hjmjohnson added the type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct label Apr 11, 2024
@hjmjohnson hjmjohnson self-assigned this Apr 11, 2024
@github-actions github-actions bot added type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances area:IO Issues affecting the IO module and removed type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct labels Apr 11, 2024
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.
@hjmjohnson hjmjohnson force-pushed the fix-remove-char-bug branch from a2a5da9 to b243803 Compare April 11, 2024 23:37
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏅

@hjmjohnson hjmjohnson merged commit 085446a into InsightSoftwareConsortium:master Apr 12, 2024
13 checks passed
@hjmjohnson hjmjohnson deleted the fix-remove-char-bug branch April 12, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:IO Issues affecting the IO module type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants