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

Remove logic for determining transfer syntax #1393

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Nov 30, 2023

wsidicom now determines the transfer syntax automatically, as of version 0.14.0, so we don't need to do this anymore.

wsidicom also supports more transfer syntaxes as well, so the list of transfer syntaxes we had are not complete now either. Just remove this logic and let wsidicom take care of it.

wsidicom now has optional dependencies: imagecodecs and pylibjpeg-rle. If we install those optional dependencies, it adds support for several more transfer syntaxes. Those are found here.

Fixes: #1308

@psavery
Copy link
Collaborator Author

psavery commented Dec 1, 2023

Since wsidicom no longer supports Python3.8, we'll need to only support DICOMweb for Python > 3.8. We'll make that change in this PR too.

@psavery psavery force-pushed the wsidicom-updates branch 2 times, most recently from ce60c95 to 83bc440 Compare December 3, 2023 22:19
@psavery psavery force-pushed the wsidicom-updates branch 2 times, most recently from 60e09c3 to c684457 Compare December 12, 2023 19:25
wsidicom now determines the transfer syntax automatically, as of
version 0.14.0, so we don't need to do this anymore.

wsidicom also supports more transfer syntaxes as well, so the list
of transfer syntaxes we had are not complete now either. Just remove
this logic and let wsidicom take care of it.

Signed-off-by: Patrick Avery <[email protected]>
Unfortunately, the newer versions of wsidicom, which we need to support
certain data formats for DICOMweb, require Python 3.9 or greater.

So we are going to only allow the DICOMweb plugin to be loaded for
Python >= 3.9.

The regular DICOM reader will still work with wsidicom for Python 3.8,
but only the DICOMweb part will not be loaded.

Signed-off-by: Patrick Avery <[email protected]>
Signed-off-by: Patrick Avery <[email protected]>
@manthey manthey merged commit e4da21e into girder:master Dec 15, 2023
12 checks passed
@psavery psavery deleted the wsidicom-updates branch December 16, 2023 03:30
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.

Add support for more DICOMweb transfer syntaxes
2 participants