Skip to content

Commit

Permalink
Merge pull request #71 from bio-phys/userwarnings
Browse files Browse the repository at this point in the history
Suppress UserWarning caused by MDAnalysis 0.18
  • Loading branch information
kain88-de authored May 18, 2018
2 parents b1e974d + 995ae07 commit 466324d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/71.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Suppress UserWarning caused by ``MDAnalysis==0.18``.
6 changes: 6 additions & 0 deletions mdbenchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
category=FutureWarning,
module='h5py')

warnings.filterwarnings(
message='.*No module named \'duecredit\'.*',
action='ignore',
category=UserWarning,
module='MDAnalysis')

from . import analyze, generate, submit

__version__ = '1.3.1'

0 comments on commit 466324d

Please sign in to comment.