Skip to content

Conversation

darcymason
Copy link
Contributor

@darcymason darcymason commented Jan 2, 2025

Fix forcing of older pydicom version. Closes #380.

* fix DVH repr problems with 'np.int(...) repr'
* collections.Callable -> collections.abc.Callable
* update some of the actions script versions
* make pydicom versions in build name more obvious
@darcymason
Copy link
Contributor Author

@bastula, I think this is ready for review, except for the "build 3.7" etc. awaiting status, which I hope you understand and can deal with.
Apologies for the multiple PRs, I seem to have muddled things up between pushes to my fork and directly to here.

One note on what was done -- I just copied in the old fix_meta_info from pydicom 2.4 to maintain the same behavior. That will need updating again by pydicom 4.X because of deprecation of Dataset.is_little_endian and .is_implicit_VR. However, pydicom 4.X won't be happening for a long time, and perhaps dicompyler-core can just drop pydicom 2.4 by then.

@bastula
Copy link
Member

bastula commented Jan 8, 2025

Thanks @darcymason for working on this. I will review this week. Looks good from a cursory glance.

@bastula bastula merged commit 209c17c into dicompyler:master Jan 9, 2025
39 of 40 checks passed
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.

Update imports for pydicom >= 3.0
2 participants