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

MNT: Deprecate nibabel.pydicom_compat #1280

Merged
merged 4 commits into from
Dec 7, 2023

Conversation

effigies
Copy link
Member

@effigies effigies commented Dec 3, 2023

This was added for the <1.0 to 1.0 transition. We no longer use it internally, and it's out-of-date with more recent deprecations in pydicom 2 that cause test failures in pydicom 3.0.0.dev0.

This PR switches the deprecated read_file to dcmread and deprecates our own compatibility shim. I suspect nobody is using it, so we'll give one release cycle and remove it in 7.0 (roughly 1yr).

@effigies
Copy link
Member Author

effigies commented Dec 3, 2023

@ZviBaratz @moloney Any chance you could have a very quick look?

@effigies effigies mentioned this pull request Dec 3, 2023
15 tasks
Copy link

codecov bot commented Dec 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (96abe5a) 91.46% compared to head (c367345) 92.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1280      +/-   ##
==========================================
+ Coverage   91.46%   92.24%   +0.77%     
==========================================
  Files          99       99              
  Lines       12460    12462       +2     
  Branches     2460     2561     +101     
==========================================
+ Hits        11397    11496      +99     
+ Misses        725      643      -82     
+ Partials      338      323      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@effigies effigies force-pushed the mnt/deprecate-pydicom_compat branch from 0067ab0 to c367345 Compare December 6, 2023 18:35
@effigies effigies merged commit 2987880 into nipy:master Dec 7, 2023
52 checks passed
@effigies effigies deleted the mnt/deprecate-pydicom_compat branch December 7, 2023 13:49
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.

1 participant