Skip to content

Commit

Permalink
Suppress h5py FutureWarning (PR #35)
Browse files Browse the repository at this point in the history
Suppress h5py FutureWarning
  • Loading branch information
mimischi authored Feb 13, 2018
2 parents eb10270 + 4bd9ab1 commit 9fe1669
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/35.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Suppress FutureWarning caused by ``h5py``.
14 changes: 12 additions & 2 deletions mdbenchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
#
# You should have received a copy of the GNU General Public License
# along with MDBenchmark. If not, see <http://www.gnu.org/licenses/>.
from . import analyze, generate, submit
import warnings

__version__ = '1.1.1'
# Get rid of the h5py FutureWarning
with warnings.catch_warnings():
warnings.filterwarnings(
message='.*Conversion of the second.*',
action='ignore',
category=FutureWarning,
module='h5py')

from . import analyze, generate, submit

__version__ = '1.1.1'

0 comments on commit 9fe1669

Please sign in to comment.