[hg] galaxy 1480: dbkey must be set after _metadata column is in...

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[hg] galaxy 1480: dbkey must be set after _metadata column is in...

greg
details:   http://www.bx.psu.edu/hg/galaxy/rev/6de3006c62b3
changeset: 1480:6de3006c62b3
user:      Dan Blankenberg <[hidden email]>
date:      Mon Aug 25 15:28:57 2008 -0400
description:
dbkey must be set after _metadata column is initialized in the init of HDA, or else the dbkey is clobered.

1 file(s) affected in this change:

lib/galaxy/model/__init__.py

diffs (14 lines):

diff -r b671c301674a -r 6de3006c62b3 lib/galaxy/model/__init__.py
--- a/lib/galaxy/model/__init__.py Fri Aug 22 17:47:43 2008 -0400
+++ b/lib/galaxy/model/__init__.py Mon Aug 25 15:28:57 2008 -0400
@@ -112,9 +112,9 @@
         self.blurb = blurb
         self.peek = peek
         self.extension = extension
-        self.dbkey = dbkey
         self.designation = designation
         self._metadata = metadata or dict()
+        self.dbkey = dbkey
         self.deleted = deleted
         self.visible = visible
         # Relationships

Loading...