[yt-svn] commit/yt: MatthewTurk: Merged in ngoldbaum/yt/yt-3.0 (pull request #1040)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sat Jul 19 06:41:33 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/65543888bc83/
Changeset: 65543888bc83
Branch: yt-3.0
User: MatthewTurk
Date: 2014-07-19 15:41:25
Summary: Merged in ngoldbaum/yt/yt-3.0 (pull request #1040)
Adding a compatibility layer for data_source.pf.
Affected #: 1 file
diff -r d200e66450ee5be821ce6a4c0f651fcdc54245ae -r 65543888bc8332f02187bfbf40670bef25e5638b yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -114,6 +114,10 @@
self.set_field_parameter(key, val)
@property
+ def pf(self):
+ return getattr(self, 'ds', None)
+
+ @property
def index(self):
if self._index is not None:
return self._index
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