Skip to content

MNT: Deprecate nibabel.pydicom_compat - #1280

Merged
effigies merged 4 commits into
nipy:masterfrom
effigies:mnt/deprecate-pydicom_compat
Dec 7, 2023
Merged

effigies merged 4 commits into
nipy:masterfrom
effigies:mnt/deprecate-pydicom_compat

Conversation

@effigies

@effigies effigies commented Dec 3, 2023

Copy link
Copy Markdown
Member

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

effigies commented Dec 3, 2023

Copy link
Copy Markdown
Member Author

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

@effigies effigies mentioned this pull request Dec 3, 2023
13 of 15 tasks
@codecov

codecov Bot commented Dec 3, 2023 •

Copy link
Copy Markdown

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
@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