Skip to content

Conversation

MMelQin
Copy link
Collaborator

@MMelQin MMelQin commented Oct 14, 2022

This PR enhances the code to treat multi-value DataElement retrieved from SOP instance Dataset differently from single valued ones.

DataElement retrieved from the underlying SOP instance Dataset may be multiple-valued; the retrieval is only needed when the to-be-matched attribute is not in the defined set of study and series attributes and when instance level attributes are used. The existing implementation favors multiple-valued and converts the string representation of the multi-valued into a list, however this also makes a single value into a list which then causes issue when valuating the condition.

Signed-off-by: M Q mingmelvinq@nvidia.com

Signed-off-by: M Q <mingmelvinq@nvidia.com>
@MMelQin MMelQin self-assigned this Oct 14, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@MMelQin MMelQin requested a review from diazandr3s October 14, 2022 01:57
Copy link
Collaborator

@vikashg vikashg left a comment

Choose a reason for hiding this comment

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

I do not see any problems with this code change.
Looks good to me.

Copy link
Contributor

@diazandr3s diazandr3s left a comment

Choose a reason for hiding this comment

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

LGTM

@MMelQin MMelQin merged commit 05409d9 into main Oct 18, 2022
@MMelQin MMelQin deleted the mqin/additional_change_to_series_selector branch March 17, 2023 20:58
SimoneBendazzoli93 pushed a commit to SimoneBendazzoli93/monai-deploy-app-sdk that referenced this pull request Jul 17, 2025
Signed-off-by: M Q <mingmelvinq@nvidia.com>

Signed-off-by: M Q <mingmelvinq@nvidia.com>
Signed-off-by: Simone Bendazzoli <simben@kth.se>
SimoneBendazzoli93 pushed a commit to SimoneBendazzoli93/monai-deploy-app-sdk that referenced this pull request Jul 17, 2025
Signed-off-by: M Q <mingmelvinq@nvidia.com>

Signed-off-by: M Q <mingmelvinq@nvidia.com>
Signed-off-by: Simone Bendazzoli <simben@kth.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants