[Yt-svn] yt-commit r669 - branches/yt-1.0/yt/raven trunk/yt/raven

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Tue Jul 15 20:29:49 PDT 2008


Author: mturk
Date: Tue Jul 15 20:29:49 2008
New Revision: 669
URL: http://yt.spacepope.org/changeset/669

Log:

This isn't my day.

But, I've tested, and these are all cool.



Modified:
   branches/yt-1.0/yt/raven/PlotCollection.py
   trunk/yt/raven/PlotCollection.py

Modified: branches/yt-1.0/yt/raven/PlotCollection.py
==============================================================================
--- branches/yt-1.0/yt/raven/PlotCollection.py	(original)
+++ branches/yt-1.0/yt/raven/PlotCollection.py	Tue Jul 15 20:29:49 2008
@@ -51,7 +51,8 @@
             self._http_prefix = ytcfg["raven","httpPrefix"] % self.pf
         else:
             self.submit = False
-        mylog.info("Created plot collection with default plot-center = %s", self.c)
+        mylog.info("Created plot collection with default plot-center = %s",
+                    list(self.c))
 
     def save(self, basename, format="png", override=False):
         """
@@ -163,6 +164,8 @@
         p = self._add_plot(PlotTypes.SlicePlot(slice, field, use_colorbar=use_colorbar,
                          axes=axes, figure=figure,
                          size=fig_size))
+        mylog.info("Added slice of %s at %s = %s with 'center' = %s", field,
+                    axis_names[axis], coord, list(center))
         p["Axis"] = lagos.axis_names[axis]
         return p
 
@@ -186,6 +189,8 @@
         p = self._add_plot(PlotTypes.CuttingPlanePlot(cp, field,
                          use_colorbar=use_colorbar, axes=axes, figure=figure,
                          size=fig_size))
+        mylog.info("Added plane of %s with 'center' = %s and normal = %s", field,
+                    list(center), list(normal))
         p["Axis"] = "CuttingPlane"
         return p
 

Modified: trunk/yt/raven/PlotCollection.py
==============================================================================
--- trunk/yt/raven/PlotCollection.py	(original)
+++ trunk/yt/raven/PlotCollection.py	Tue Jul 15 20:29:49 2008
@@ -51,7 +51,8 @@
             self._http_prefix = ytcfg["raven","httpPrefix"] % self.pf
         else:
             self.submit = False
-        mylog.info("Created plot collection with default plot-center = %s", self.c)
+        mylog.info("Created plot collection with default plot-center = %s",
+                    list(self.c))
 
     def save(self, basename, format="png", override=False):
         """
@@ -163,6 +164,8 @@
         p = self._add_plot(PlotTypes.SlicePlot(slice, field, use_colorbar=use_colorbar,
                          axes=axes, figure=figure,
                          size=fig_size))
+        mylog.info("Added slice of %s at %s = %s with 'center' = %s", field,
+                    axis_names[axis], coord, list(center))
         p["Axis"] = lagos.axis_names[axis]
         return p
 
@@ -186,6 +189,8 @@
         p = self._add_plot(PlotTypes.CuttingPlanePlot(cp, field,
                          use_colorbar=use_colorbar, axes=axes, figure=figure,
                          size=fig_size))
+        mylog.info("Added plane of %s with 'center' = %s and normal = %s", field,
+                    list(center), list(normal))
         p["Axis"] = "CuttingPlane"
         return p
 



More information about the yt-svn mailing list