Skip to content

Commit

Permalink
Atomgroup removal (MDAnalysis#2562)
Browse files Browse the repository at this point in the history
* Completes MDAnalysis#1070 and moves us towards v1.0 MDAnalysis#2443
* Removed AtomGroup stubs.
* Removed unnecessary import from groups.py
* Removes deprecation test
* Update CHANGELOG
  • Loading branch information
IAlibay authored and lilyminium committed Mar 4, 2020
1 parent 06fc382 commit 7a751ee
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 76 deletions.
1 change: 1 addition & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Enhancements
* Improve the distance search in water bridge analysis with capped_distance (PR #2480)

Changes
* Removed AtomGroup stubs (PR #1070, Issue #2443).
* encore.hes() doesn't accept the details keyword anymore, it always returns
the relevant details instead, consistently with ces() and dres(), in the
form of a dictionary (Issue #2465)
Expand Down
67 changes: 0 additions & 67 deletions package/MDAnalysis/core/AtomGroup.py

This file was deleted.

1 change: 0 additions & 1 deletion package/MDAnalysis/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@

from . import groups
from . import selection
from . import AtomGroup
2 changes: 0 additions & 2 deletions package/MDAnalysis/core/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@
import os
import warnings

from numpy.lib.utils import deprecate

from .. import _ANCHOR_UNIVERSES, _CONVERTERS
from ..lib import util
from ..lib.util import cached, warn_if_not_unique, unique_int_1d
Expand Down
6 changes: 0 additions & 6 deletions testsuite/MDAnalysisTests/core/test_atomgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@
import pytest


class TestDeprecationWarnings(object):
def test_AtomGroupUniverse_usage_warning(self):
with pytest.deprecated_call():
mda.core.AtomGroup.Universe(PSF, DCD)


class TestAtomGroupToTopology(object):
"""Test the conversion of AtomGroup to TopologyObjects"""
@pytest.fixture()
Expand Down

0 comments on commit 7a751ee

Please sign in to comment.