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

Deprecated and slated for 2.0 removal #2739

Closed
4 of 5 tasks
IAlibay opened this issue Jun 10, 2020 · 4 comments · Fixed by #3258
Closed
4 of 5 tasks

Deprecated and slated for 2.0 removal #2739

IAlibay opened this issue Jun 10, 2020 · 4 comments · Fixed by #3258
Assignees
Labels
remove-2.0 deprecated in 1.0 and to be removed in 2.0
Milestone

Comments

@IAlibay
Copy link
Member

IAlibay commented Jun 10, 2020

We have quite a lot of things that are slated for removal in 2.0:

With #2729 I guess we started 2.0 a little bit sooner than anticipated, so I thought I'd check that we are good at doing these removals before we go ahead and start cutting out code?

@orbeckst
Copy link
Member

Let‘s get started. We‘ll have to figure out a way to do patches for 1.0 but it seems we can just do PRs against master at the moment and treat master as 1.x branch.

We‘ll figure out a way to backport fixes from develop; I assume that if we do squash merges we get fairly clean diffs that we can cherry-pick or merge into master/1.x.

@orbeckst
Copy link
Member

Also: remove six!

This was referenced Jun 11, 2020
@IAlibay IAlibay added this to the 2.0 milestone Jun 12, 2020
orbeckst pushed a commit that referenced this issue Jun 13, 2020
* removes deprecated density code (part of #2739)
* Removes density_from_Universe, density_from_PDB, Bfactor2RMSF, BfactorDensityCreator, and notwithin_coordinates_factory
* Moves _set_user_grid to be a staticmethod of DensityAnalysis
* Unused tests removed
* Removal of six
* some PEP8 string formatting changes
* Adds a versionchanged for the removal
* Adds changelog entry for deprecated density removal
* Adds _set_user_grid to docs
* Adds return entry
This was referenced Jun 14, 2020
@orbeckst orbeckst added the remove-2.0 deprecated in 1.0 and to be removed in 2.0 label Jun 15, 2020
IAlibay pushed a commit that referenced this issue Sep 23, 2020
Towards #2739 

## Work done in this PR
Removes the old helanal code in favour of helix_analysis
orbeckst pushed a commit that referenced this issue Feb 5, 2021
* Move water bridge analysis from hbonds to hydrogenbonds (PR #2913)
* part of #2739
* deprecate hydrogen bond analysis in water bridge in PR #3111 
* Update CHANGELOG

Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
IAlibay pushed a commit that referenced this issue Mar 13, 2021
Related to #2913, #2739 and #2746

## Work done in this PR
  - Moves hbonds.WaterBridgeAnalysis code to hydrogenbonds.WaterBridgeAnalysis
  - Add a temporary stub which links hbonds.WaterBridgeAnalysis to hydrogenbonds.WaterBridgeAnalysis
  - Some docstring changes
PicoCentauri pushed a commit to PicoCentauri/mdanalysis that referenced this issue Mar 30, 2021
* removes deprecated density code (part of MDAnalysis#2739)
* Removes density_from_Universe, density_from_PDB, Bfactor2RMSF, BfactorDensityCreator, and notwithin_coordinates_factory
* Moves _set_user_grid to be a staticmethod of DensityAnalysis
* Unused tests removed
* Removal of six
* some PEP8 string formatting changes
* Adds a versionchanged for the removal
* Adds changelog entry for deprecated density removal
* Adds _set_user_grid to docs
* Adds return entry
PicoCentauri added a commit to PicoCentauri/mdanalysis that referenced this issue Mar 30, 2021
Towards MDAnalysis#2739

Removes the old helanal code in favour of helix_analysis
PicoCentauri pushed a commit to PicoCentauri/mdanalysis that referenced this issue Mar 30, 2021
…s#2913)

* Move water bridge analysis from hbonds to hydrogenbonds (PR MDAnalysis#2913)
* part of MDAnalysis#2739
* deprecate hydrogen bond analysis in water bridge in PR MDAnalysis#3111 
* Update CHANGELOG

Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
@IAlibay IAlibay self-assigned this Apr 6, 2021
@IAlibay
Copy link
Member Author

IAlibay commented May 2, 2021

@richardjgowers do you mind if I just move hbond_autocorrel to hydrogenbonds for this?

@richardjgowers
Copy link
Member

richardjgowers commented May 2, 2021 via email

IAlibay added a commit that referenced this issue May 6, 2021
Fixes #2739 #3259 

## Work done in this PR
* Moves hbond_autocorrel from hbonds to hydrogenbonds, stub
  will be removed in 3.0.0.
* Removes deprecated hbonds.hbond_analysis code.
* tests (note: tests were copied and we run full tests on the deprecated
  and the moved code, mainly to make sure that they can be called as
  expected; deprecation warnings are also tested)
* make hydrogenbonds.hbond_autocorrel primary entry for docs
* add entry for deprecated module at bottom of Hydrogen bonding docs
* fixed doc in hydrogenbonds.wbridge_analysis
* include the Gregoret 1991 reference (that was removed with the
  deprecated hbonds.hbond_analysis module)

Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
remove-2.0 deprecated in 1.0 and to be removed in 2.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants