mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove dead code from prior work in nametag collection, change to user_tname usage.
This commit is contained in:
@@ -393,12 +393,10 @@ class HDASerializer( # datasets._UnflattenedMetadataDatasetAssociationSerialize
|
||||
"""
|
||||
nametags = []
|
||||
for tag in hda.tags:
|
||||
if tag.tag.name.startswith('name.'):
|
||||
nametags.append(tag.tag.name[5:])
|
||||
if tag.user_tname.startswith('name.'):
|
||||
nametags.append(tag.user_tname[5:])
|
||||
return nametags
|
||||
|
||||
return [tag for tag in hda.tags if tag.tag.name.startswith('name.')]
|
||||
|
||||
def serialize_old_display_applications( self, hda, key, trans=None, **context ):
|
||||
"""
|
||||
Return dictionary containing old-style display app urls.
|
||||
|
||||
Reference in New Issue
Block a user