1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/fe04978dadac/ Changeset: fe04978dadac User: Dave Bouvier Date: 2013-07-29 18:01:24 Summary: Do not truncate tool test input dataset names, as Galaxy no longer displays them truncated. Affected #: 1 file diff -r e19301cc51b90667ae829c6f9a61571f50906494 -r fe04978dadac9974ab1954ab2091539e58caf3e4 test/base/twilltestcase.py --- a/test/base/twilltestcase.py +++ b/test/base/twilltestcase.py @@ -1191,13 +1191,7 @@ # This loop gets the filename/label for the selected values. item_labels = [ item.attrs[ 'label' ] for item in control.get_items() if item.selected ] for value in kwd[ control.name ]: - # Galaxy truncates long file names in the dataset_collector in galaxy/tools/parameters/basic.py. - # This (and other places where this is done) should be refactored to use the HDA id. - if len( value ) > 30 and control.is_of_kind( 'singlelist' ): - field_value = '%s..%s' % ( value[:17], value[-11:] ) - else: - field_value = value - if field_value not in control.value and True not in [ field_value in item_label for item_label in item_labels ]: + if value not in control.value and True not in [ value in item_label for item_label in item_labels ]: changed = True break if changed: @@ -1205,11 +1199,7 @@ control.clear() # kwd[control.name] should be a singlelist for elem in kwd[ control.name ]: - if len( elem ) > 30 and control.is_of_kind( 'singlelist' ): - elem_name = '%s..%s' % ( elem[:17], elem[-11:] ) - else: - elem_name = elem - tc.fv( f.name, control.name, str( elem_name ) ) + tc.fv( f.name, control.name, str( elem ) ) # Create a new submit control, allows form to refresh, instead of going to next page control = ClientForm.SubmitControl( 'SubmitControl', '___refresh_grouping___', {'name':'refresh_grouping'} ) control.add_to_form( f ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.