[Yt-svn] yt: 2 new changesets

hg at spacepope.org hg at spacepope.org
Tue Feb 15 15:50:51 PST 2011


hg Repository: yt
details:   yt/rev/d094fdb3bfec
changeset: 3744:d094fdb3bfec
user:      Matthew Turk <matthewturk at gmail.com>
date:
Mon Feb 07 09:21:00 2011 -0500
description:
Fixing a typo in the docstring

hg Repository: yt
details:   yt/rev/4c4446f2c3a1
changeset: 3745:4c4446f2c3a1
user:      Stephen Skory <stephenskory at yahoo.com>
date:
Tue Feb 15 16:49:27 2011 -0700
description:
Fixing an error in the merger tree.

diffstat:

 yt/analysis_modules/halo_merger_tree/merger_tree.py |  2 +-
 yt/visualization/volume_rendering/camera.py         |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 74ade65d97b3 -r 4c4446f2c3a1 yt/analysis_modules/halo_merger_tree/merger_tree.py
--- a/yt/analysis_modules/halo_merger_tree/merger_tree.py	Sat Feb 05 14:50:51 2011 -0500
+++ b/yt/analysis_modules/halo_merger_tree/merger_tree.py	Tue Feb 15 16:49:27 2011 -0700
@@ -216,7 +216,7 @@
         for cycle, file in enumerate(self.restart_files):
             gc.collect()
             pf = load(file)
-            self.period = self.pf.domain_right_edge - self.pf.domain_left_edge
+            self.period = pf.domain_right_edge - pf.domain_left_edge
             # If the halos are already found, skip this data step, unless
             # refresh is True.
             dir = os.path.dirname(file)
diff -r 74ade65d97b3 -r 4c4446f2c3a1 yt/visualization/volume_rendering/camera.py
--- a/yt/visualization/volume_rendering/camera.py	Sat Feb 05 14:50:51 2011 -0500
+++ b/yt/visualization/volume_rendering/camera.py	Tue Feb 15 16:49:27 2011 -0700
@@ -267,7 +267,7 @@
         This will recalculate all the necessary vectors and vector planes related
         to a camera with new normal vectors, widths, centers, or north vectors.
 
-        Parameters (All Optional)
+        Parameters
         ----------
         normal_vector: array_like, optional
             The new looking vector.



More information about the yt-svn mailing list