From 6b2a4ebd3653f25ef01e109ac7bdad601d6959a5 Mon Sep 17 00:00:00 2001 From: guerler Date: Fri, 17 Mar 2017 14:55:17 -0400 Subject: [PATCH] Len-file hdas not needed in metadata --- lib/galaxy/webapps/galaxy/api/users.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/api/users.py b/lib/galaxy/webapps/galaxy/api/users.py index 35535dcd8770..fe5f1ceafa88 100644 --- a/lib/galaxy/webapps/galaxy/api/users.py +++ b/lib/galaxy/webapps/galaxy/api/users.py @@ -635,13 +635,9 @@ def get_custom_builds_metadata(self, trans, id, payload={}, **kwd): fasta_hdas = trans.sa_session.query( model.HistoryDatasetAssociation ) \ .filter_by( history=trans.history, extension="fasta", deleted=False ) \ .order_by( model.HistoryDatasetAssociation.hid.desc() ) - len_hdas = trans.sa_session.query( model.HistoryDatasetAssociation ) \ - .filter_by( history=trans.history, extension="len", deleted=False ) \ - .order_by( model.HistoryDatasetAssociation.hid.desc() ) return { 'installed_builds' : [ { 'label' : ins, 'value' : ins } for ins in installed_builds ], 'fasta_hdas' : [ { 'label' : hda.name, 'value' : trans.security.encode_id( hda.hid ) } for hda in fasta_hdas ], - 'len_hdas' : [ { 'label' : hda.name, 'value' : trans.security.encode_id( hda.hid ) } for hda in len_hdas ], } @expose_api