[Yt-svn] commit/cookbook: brittonsmith: Fixed light ray example.

Bitbucket commits-noreply at bitbucket.org
Mon Jun 6 15:03:16 PDT 2011


1 new changeset in cookbook:

http://bitbucket.org/yt_analysis/cookbook/changeset/4c427782468b/
changeset:   4c427782468b
branches:    
user:        brittonsmith
date:        2011-06-07 00:03:10
summary:     Fixed light ray example.
affected #:  1 file (8 bytes)

--- a/recipes/make_light_ray.py	Mon Jun 06 17:24:33 2011 -0400
+++ b/recipes/make_light_ray.py	Mon Jun 06 18:03:10 2011 -0400
@@ -38,7 +38,8 @@
 
 # Make the ray and get the Density and Temperature fields, the nearest galaxy information, and 
 # the line of sight velocity.
-lr.make_light_ray(seed=8675309, solution_filename='%s/lightraysolution_%s.txt' % (output_dir, seed),
+lr.make_light_ray(seed=8675309, 
+                  solution_filename='lightraysolution.txt',
                   data_filename=data_filename,
                   fields=['Temperature', 'Density'],
                   get_nearest_galaxy=True,

Repository URL: https://bitbucket.org/yt_analysis/cookbook/

--

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