[yt-svn] commit/yt: MatthewTurk: This was undefined before.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Mar 15 09:10:33 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/d19723329cad/
Changeset:   d19723329cad
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-03-15 17:08:41
Summary:     This was undefined before.
Affected #:  1 file

diff -r 9ee033f16a58215d66b84bc408c8624f8556c790 -r d19723329cade08bfc84e9ff41a44e95ddbe0f7c yt/data_objects/profiles.py
--- a/yt/data_objects/profiles.py
+++ b/yt/data_objects/profiles.py
@@ -24,6 +24,7 @@
                              new_bin_profile3d
 from yt.utilities.parallel_tools.parallel_analysis_interface import \
     ParallelAnalysisInterface, parallel_objects
+from yt.utilities.exceptions import YTEmptyProfileData
 
 def preserve_source_parameters(func):
     def save_state(*args, **kwargs):
@@ -80,7 +81,7 @@
         for ds in self._data_source.chunks(chunk_fields, chunking_style = "io"):
             try:
                 args = self._get_bins(ds, check_cut=True)
-            except EmptyProfileData:
+            except YTEmptyProfileData:
                 # No bins returned for this grid, so forget it!
                 continue
             for field in fields:

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