[yt-svn] commit/yt: MatthewTurk: Minor fix to how image collections are uploaded.

Bitbucket commits-noreply at bitbucket.org
Thu Mar 22 11:32:13 PDT 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/563e21122c81/
changeset:   563e21122c81
branch:      yt
user:        MatthewTurk
date:        2012-03-22 19:31:56
summary:     Minor fix to how image collections are uploaded.
affected #:  1 file

diff -r b82c364257ac3265867abb2dfb60e40d8bcd8d80 -r 563e21122c81adb1aaa6939c5c9ed2cde18359ce yt/utilities/minimal_representation.py
--- a/yt/utilities/minimal_representation.py
+++ b/yt/utilities/minimal_representation.py
@@ -172,12 +172,11 @@
 
 class MinimalImageCollectionData(MinimalRepresentation):
     type = "image_collection"
-    _attr_list = ("name", "output_hash", "images")
+    _attr_list = ("name", "output_hash", "images", "image_metadata")
 
     def _generate_post(self):
         nobj = self._return_filtered_object(("images",))
         metadata = nobj._attrs
-        chunks = [(md, d) for md, d in self.images]
+        chunks = [(fn, d) for fn, d in self.images]
         return (metadata, ('images', chunks))
 
-

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