[yt-svn] commit/yt-3.0: MatthewTurk: The storage_filename attribute needs to be set in the stream handler.

Bitbucket commits-noreply at bitbucket.org
Wed Oct 17 13:50:37 PDT 2012


1 new commit in yt-3.0:


https://bitbucket.org/yt_analysis/yt-3.0/changeset/7a80a2b4c918/
changeset:   7a80a2b4c918
branch:      yt-3.0
user:        MatthewTurk
date:        2012-10-17 22:50:31
summary:     The storage_filename attribute needs to be set in the stream handler.
affected #:  1 file

diff -r b9cb693f88013f11617c6bc56a21d3b789035744 -r 7a80a2b4c918c8596c8682b4eba9e65048495eb5 yt/frontends/stream/data_structures.py
--- a/yt/frontends/stream/data_structures.py
+++ b/yt/frontends/stream/data_structures.py
@@ -103,7 +103,7 @@
 class StreamHandler(object):
     def __init__(self, left_edges, right_edges, dimensions,
                  levels, parent_ids, particle_count, processor_ids,
-                 fields, io = None):
+                 fields, io = None, storage_filename = None):
         self.left_edges = left_edges
         self.right_edges = right_edges
         self.dimensions = dimensions
@@ -114,6 +114,7 @@
         self.num_grids = self.levels.size
         self.fields = fields
         self.io = io
+        self.storage_filename = storage_filename
 
     def get_fields(self):
         return self.fields.all_fields

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

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