[yt-svn] commit/yt: ngoldbaum: Adding a compatibility layer for the TimeSeriesData -> DatasetSeries conversion.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Mar 31 11:33:38 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/7e34a8c9d6ff/
Changeset: 7e34a8c9d6ff
Branch: yt-3.0
User: ngoldbaum
Date: 2014-03-29 19:02:55
Summary: Adding a compatibility layer for the TimeSeriesData -> DatasetSeries conversion.
Affected #: 1 file
diff -r 19470c49dd8c1c5c66ee7a8bd638940761b5d3e9 -r 7e34a8c9d6fff7a482d9ee97eaa20ab8f26654f8 yt/__init__.py
--- a/yt/__init__.py
+++ b/yt/__init__.py
@@ -119,6 +119,9 @@
ImageArray, particle_filter, create_profile, \
Profile1D, Profile2D, Profile3D
+# For backwards compatibility
+TimeSeriesData = deprecated_class(DatasetSeries)
+
from yt.frontends.api import _frontend_container
frontends = _frontend_container()
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list