Skip to content

Commit

Permalink
Follow up on @nsoranzo comment...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed May 25, 2016
1 parent b41e039 commit 168ba1b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/galaxy/tools/parser/xml.py
Expand Up @@ -441,12 +441,7 @@ def __parse_test_attributes( output_elem, attrib, parse_elements=False ):

# Allow either file or value to specify a target file to compare result with
# file was traditionally used by outputs and value by extra files.
if 'file' in attrib:
file = attrib.pop( 'file', None )
elif 'value' in attrib:
file = attrib.pop( 'value', None )
else:
file = None
file = attrib.pop( 'file', attrib.pop( 'value', None ) )

# File no longer required if an list of assertions was present.
attributes = {}
Expand Down

0 comments on commit 168ba1b

Please sign in to comment.