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

Removing deprecated reader code for v1.0 #2482

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

IAlibay
Copy link
Member

@IAlibay IAlibay commented Jan 30, 2020

Partly addresses #2327 and #2443

As far as I am aware, the NetCDF writer is the only part of the reader/writers that has code set for removal by v1.0.0, please let me know if this isn't the case.

Changes made in this Pull Request:

  • Removes support for the degrees unit for cell_angles in the AMBER NetCDF reader.

Note: this does not completely fix the NetCDF reader/writer (scale_factor writer support is needed, and we really should switch the writing of velocities from unscaled to the same factor used by the AMBER MD engines use [see #2327]). However, assuming a non API complete v1.0.0, further fixes can probably be done by the next release.

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

Copy link
Member

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI passes. The deprecation was issued in August 2019---do we have a timeline for deprecation->removal workflow established (i.e., two years? two releases minimum? etc.).

@codecov
Copy link

codecov bot commented Jan 30, 2020

Codecov Report

Merging #2482 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2482      +/-   ##
===========================================
- Coverage    90.25%   90.25%   -0.01%     
===========================================
  Files          179      179              
  Lines        23281    23277       -4     
  Branches      3009     3008       -1     
===========================================
- Hits         21012    21008       -4     
  Misses        1662     1662              
  Partials       607      607
Impacted Files Coverage Δ
package/MDAnalysis/coordinates/TRJ.py 94.81% <100%> (-0.06%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b567168...69b8417. Read the comment docs.

@IAlibay
Copy link
Member Author

IAlibay commented Jan 30, 2020

LGTM if CI passes. The deprecation was issued in August 2019---do we have a timeline for deprecation->removal workflow established (i.e., two years? two releases minimum? etc.).

Thanks for the review!

With regards to the deprecation->removal workflow, I am currently going through all the things that need to be removed for v1.0.0, and there doesn't seem to be much consistency. For the most part a minimum of two versions have been released before removal (this particular case has the shortest deprecation->removal time, deprecated in 0.20 -> 0.20.1 -> removal 1.0).

That being said, if the consensus is that this removal is too soon, I don't mind shelving it for a later date.

@richardjgowers richardjgowers merged commit 59ea579 into MDAnalysis:develop Jan 30, 2020
@IAlibay IAlibay deleted the ncdf-degrees branch January 30, 2020 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants