Skip to content

Comply with abstract syntax in presentation contexts unless --ignore-sop-class is enabled#706

Merged
Enet4 merged 1 commit intomasterfrom
bug/storescu/select-sop-class
Oct 14, 2025
Merged

Comply with abstract syntax in presentation contexts unless --ignore-sop-class is enabled#706
Enet4 merged 1 commit intomasterfrom
bug/storescu/select-sop-class

Conversation

@Enet4
Copy link
Copy Markdown
Owner

@Enet4 Enet4 commented Oct 11, 2025

This PR is two-fold: it fixes the store SCU ignoring the abstract syntax during per-file presentation context, and offers an option to keep the current behavior of selecting the presentation context by only considering transfer syntaxes.

Summary

  • when checking which presentation context to use to transfer a file, check the PC abstract syntax against the file's SOP class UID
  • add command line option --ignore-sop-class, which reverts per-file presentation context selection beahavior to the one prior to this change
  • trim endings of more UIDs in DICOM file listings

…s --ignore-sop-class is enabled

- when checking which presentation context to use to transfer a file,
  check the PC abstract syntax against the file's SOP class UID
- trim endings of more UIDs in DICOM file listings
@Enet4 Enet4 self-assigned this Oct 11, 2025
@Enet4 Enet4 added bug This is a bug A-tool Area: tooling C-storescu Crate: dicom-storescu labels Oct 11, 2025
@Enet4 Enet4 merged commit db869b7 into master Oct 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tool Area: tooling bug This is a bug C-storescu Crate: dicom-storescu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant