[Yt-svn] yt-commit r1344 - trunk/yt/reason
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Wed Jun 17 10:07:31 PDT 2009
Author: mturk
Date: Wed Jun 17 10:07:30 2009
New Revision: 1344
URL: http://yt.spacepope.org/changeset/1344
Log:
Quick fix for a deprecated function
Modified:
trunk/yt/reason/Notebook.py
Modified: trunk/yt/reason/Notebook.py
==============================================================================
--- trunk/yt/reason/Notebook.py (original)
+++ trunk/yt/reason/Notebook.py Wed Jun 17 10:07:30 2009
@@ -360,7 +360,7 @@
self.circles = []
if ytcfg.getboolean("reason","centeronmax"):
- self.center = outputfile.hierarchy.findMax("Density")[1]
+ self.center = outputfile.hierarchy.find_max("Density")[1]
PlotPage.__init__(self, parent, status_bar, mw, CreationID, parent_id)
self.SetBackgroundColour(wx.NamedColor("WHITE"))
@@ -457,7 +457,7 @@
self.UpdateWidth()
def OnCenterOnMax(self, event):
- v, c = self.outputfile.h.findMax("Density")
+ v, c = self.outputfile.h.find_max("Density")
Publisher().sendMessage(('viewchange','center'), c)
self.UpdateWidth()
More information about the yt-svn
mailing list