[yt-svn] commit/yt: sskory: This fixes the redshift output for Rockstar Halos.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu May 2 13:37:26 PDT 2013


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/8e9bfe3b8eb3/
Changeset:   8e9bfe3b8eb3
Branch:      yt
User:        sskory
Date:        2013-05-02 22:24:27
Summary:     This fixes the redshift output for Rockstar Halos.
Affected #:  1 file

diff -r c5ca570658c61817278dcd5047e1f532c1043ac2 -r 8e9bfe3b8eb3fa20c3bc0d2ac6f6274e82b4ea99 yt/analysis_modules/halo_finding/halo_objects.py
--- a/yt/analysis_modules/halo_finding/halo_objects.py
+++ b/yt/analysis_modules/halo_finding/halo_objects.py
@@ -1367,6 +1367,7 @@
         self._groups = []
         self._max_dens = -1
         self.pf = pf
+        self.redshift = pf.current_redshift
         self.out_list = out_list
         self._data_source = pf.h.all_data()
         mylog.info("Parsing Rockstar halo list")

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