Skip to content

Commit

Permalink
filtering warnings (#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
ooprathamm authored Feb 12, 2023
1 parent 096f799 commit b928ff1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions package/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ Chronological list of authors
- Mikhail Glagolev
2023
- Christian Pfaendner
- Pratham Chauhan


External code
Expand Down
2 changes: 1 addition & 1 deletion package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The rules for this file:
* release numbers follow "Semantic Versioning" http://semver.org

------------------------------------------------------------------------------
??/??/?? IAlibay, pgbarletta, mglagolev, hmacdope, manuel.nuno.melo, chrispfae
??/??/?? IAlibay, pgbarletta, mglagolev, hmacdope, manuel.nuno.melo, chrispfae, ooprathamm

* 2.5.0

Expand Down
4 changes: 4 additions & 0 deletions testsuite/MDAnalysisTests/coordinates/test_tng.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def iter_ts(self, i):
return ts


@pytest.mark.filterwarnings("ignore:Empty string")
@pytest.mark.filterwarnings("ignore:Stride of block")
@pytest.mark.skipif(not HAS_PYTNG, reason="pytng not installed")
class TestTNGCoordinatesTraj(MultiframeReaderTest):
@staticmethod
Expand Down Expand Up @@ -118,6 +120,7 @@ def test_tng_traj_uneven_blocks():
_ = mda.Universe(TNG_traj_gro, TNG_traj_uneven_blocks)


@pytest.mark.filterwarnings("ignore:Failed read for block")
@pytest.mark.skipif(not HAS_PYTNG, reason="pytng not installed")
class TestTNGTraj(object):

Expand Down Expand Up @@ -344,6 +347,7 @@ def test_parse_n_atoms(self, universe):
assert universe.trajectory.parse_n_atoms(TNG_traj) == self._n_atoms


@pytest.mark.filterwarnings("ignore:Off stride read for block")
@pytest.mark.skipif(not HAS_PYTNG, reason="pytng not installed")
class TestTNGTraj_vels_forces(object):

Expand Down

0 comments on commit b928ff1

Please sign in to comment.