Skip to content

Commit

Permalink
Len-file hdas not needed in metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Mar 17, 2017
1 parent 95b6f03 commit 6b2a4eb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/galaxy/webapps/galaxy/api/users.py
Expand Up @@ -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
Expand Down

0 comments on commit 6b2a4eb

Please sign in to comment.