[Yt-svn] yt: Changing imports a bit to avoid yt.mods import.
hg at spacepope.org
hg at spacepope.org
Thu Dec 2 16:10:49 PST 2010
hg Repository: yt
details: yt/rev/26fd27e01006
changeset: 3571:26fd27e01006
user: Matthew Turk <matthewturk at gmail.com>
date:
Thu Dec 02 16:10:42 2010 -0800
description:
Changing imports a bit to avoid yt.mods import.
diffstat:
yt/analysis_modules/spectral_integrator/spectral_frequency_integrator.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 2e69ac29577d -r 26fd27e01006 yt/analysis_modules/spectral_integrator/spectral_frequency_integrator.py
--- a/yt/analysis_modules/spectral_integrator/spectral_frequency_integrator.py Thu Dec 02 16:54:09 2010 -0700
+++ b/yt/analysis_modules/spectral_integrator/spectral_frequency_integrator.py Thu Dec 02 16:10:42 2010 -0800
@@ -24,9 +24,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
+import numpy as na
+
from yt.funcs import *
-from yt.mods import add_field
-import numpy as na
+
+from yt.data_objects.field_info_container import add_field
from yt.utilities.linear_interpolators import \
UnilinearFieldInterpolator, \
BilinearFieldInterpolator, \
More information about the yt-svn
mailing list