[yt-svn] commit/yt-3.0: MatthewTurk: Fixing finfo access in fixed resolution buffer

Bitbucket commits-noreply at bitbucket.org
Tue Nov 20 13:44:32 PST 2012


1 new commit in yt-3.0:


https://bitbucket.org/yt_analysis/yt-3.0/changeset/bb560ab178a7/
changeset:   bb560ab178a7
branch:      yt-3.0
user:        MatthewTurk
date:        2012-11-20 22:44:25
summary:     Fixing finfo access in fixed resolution buffer
affected #:  1 file

diff -r e6ea8a9ceefcab1f48bdd44a50ba47fc64c7fcae -r bb560ab178a7431db5d28ab04a528cc539c9b181 yt/visualization/fixed_resolution.py
--- a/yt/visualization/fixed_resolution.py
+++ b/yt/visualization/fixed_resolution.py
@@ -152,7 +152,8 @@
 
     def _get_info(self, item):
         info = {}
-        finfo = self.data_source.pf._get_field_info(*item)
+        field = self.data_source._determine_fields(item)[0]
+        finfo = self.data_source.pf._get_field_info(*field)
         info['data_source'] = self.data_source.__str__()  
         info['axis'] = self.data_source.axis
         info['field'] = str(item)

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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