From 81014270aacc408907bfa713ffe30d2d4c2f93ec Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 8 Mar 2017 09:38:15 -0600 Subject: [PATCH] Don't import openmc.openmoc_compatible by default --- openmc/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/openmc/__init__.py b/openmc/__init__.py index 04dd7f0aa..b35538558 100644 --- a/openmc/__init__.py +++ b/openmc/__init__.py @@ -28,11 +28,3 @@ from openmc.summary import * from openmc.particle_restart import * from openmc.mixin import * from openmc.plotter import * - -try: - # Ignore matplotlib warning caused by OpenMOC calling matplotlib.use() - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - from openmc.openmoc_compatible import * -except ImportError: - pass