[yt-svn] commit/yt: MatthewTurk: Merged in drudd/yt (pull request #1217)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Sep 29 07:33:27 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/3d43afd7ca4b/
Changeset: 3d43afd7ca4b
Branch: yt
User: MatthewTurk
Date: 2014-09-29 14:33:16+00:00
Summary: Merged in drudd/yt (pull request #1217)
[Bugfix] ds.derived_field_list is often out of sync with ds.field_info [Fixes #898]
Affected #: 1 file
diff -r 7848f9288258e1eaf7b0decbf01ac3be39dec62b -r 3d43afd7ca4b56d679f8744bedc554c8b5f5b3a7 yt/data_objects/data_containers.py
--- a/yt/data_objects/data_containers.py
+++ b/yt/data_objects/data_containers.py
@@ -496,7 +496,8 @@
# really ugly check to ensure that this field really does exist somewhere,
# in some naming convention, before returning it as a possible field type
- if (ftype,fname) not in self.ds.field_list and \
+ if (ftype,fname) not in self.ds.field_info and \
+ (ftype,fname) not in self.ds.field_list and \
fname not in self.ds.field_list and \
(ftype,fname) not in self.ds.derived_field_list and \
fname not in self.ds.derived_field_list and \
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