Closed mrbean-bremen closed 10 months ago
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
9118c37
) 89.31% compared to head (259d9dd
) 89.66%.
Files | Patch % | Lines |
---|---|---|
dicom_validator/spec_reader/enum_parser.py | 96.36% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hello @mrbean-bremen,
I comment on this issue rather than creating a new one because my question relates to the validation of enumerated values.
I noticed that when multiple values are encoded for the MR Image Scanning Sequence attribute, an error is reported even if both values match the enumerated values.
Here is the output:
Module "MR Image": Tag (0018,0020) (Scanning Sequence) value is not allowed (value: ['SE', 'EP'], allowed: SE, IR, GR, EP, RM)
Is the current implementation limited to single enumerated values?
Very nice work !
Thanks for the report! The implementation of enum support is not complete yet, though I would consider that a bug - looks like I don't handle multi-valued attributes correctly. Feel free to write a separate issue for that. I don't have access to a computer right now (traveling), but I will have a closer look sometime next week.
Still to do: