mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix for optional datasets to work with metadata changes.
This commit is contained in:
@@ -23,7 +23,7 @@ class NoneDataset( RecursiveNone ):
|
||||
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 ):
|
||||
|
||||
Reference in New Issue
Block a user