mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix to get_dbkey - rev 1752 included a bad bug!
This commit is contained in:
@@ -200,7 +200,7 @@ class Dataset( object ):
|
||||
field in the database. That field now maps to "old_dbkey" (see mapping.py).
|
||||
"""
|
||||
def get_dbkey( self ):
|
||||
if type(dbkey) == type([]):
|
||||
if type(self.metadata.dbkey) == type([]):
|
||||
dbkey = self.metadata.dbkey[0]
|
||||
else:
|
||||
dbkey = self.metadata.dbkey
|
||||
|
||||
Reference in New Issue
Block a user