Skip to content

Commit

Permalink
Use dataset matcher for unhidden datasets only
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jan 26, 2017
1 parent 496fa51 commit ccacbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/parameters/basic.py
Expand Up @@ -1805,7 +1805,7 @@ def append( list, id, hid, name, src, keep=False ):
m = match.hda
has_matched = has_matched or visible_hda == m or visible_hda == hda
m_name = '%s (as %s)' % ( match.original_hda.name, match.target_ext ) if match.implicit_conversion else m.name
append( d[ 'options' ][ 'hda' ], m.id, m.hid, m_name if m.visible else '(hidden) %s' % m_name, 'hda' )
append( d[ 'options' ][ 'hda' ], m.id, m.hid, m_name, 'hda' )
if not has_matched and hasattr( visible_hda, 'id' ) and hasattr( visible_hda, 'hid' ) and hasattr( visible_hda, 'name' ):
if visible_hda.deleted:
hda_state = 'deleted'
Expand Down

0 comments on commit ccacbb7

Please sign in to comment.