details: http://www.bx.psu.edu/hg/galaxy/rev/0a0045644219 changeset: 1560:0a0045644219 user: Dan Blankenberg dan@bx.psu.edu date: Fri Oct 17 13:31:17 2008 -0400 description: Fix for optional datasets to work with metadata changes.
1 file(s) affected in this change:
lib/galaxy/util/none_like.py
diffs (12 lines):
diff -r f802eb92a49a -r 0a0045644219 lib/galaxy/util/none_like.py --- a/lib/galaxy/util/none_like.py Fri Oct 17 13:02:26 2008 -0400 +++ b/lib/galaxy/util/none_like.py Fri Oct 17 13:31:17 2008 -0400 @@ -23,7 +23,7 @@ if datatypes_registry is None: datatypes_registry = Registry() self.datatype = datatypes_registry.get_datatype_by_extension( ext ) self._metadata = None - self.metadata = MetadataCollection( self, self.datatype.metadata_spec ) + self.metadata = MetadataCollection( self ) def __getattr__( self, name ): return "None" def missing_meta( self ):