diff --git a/lib/galaxy/tools/wrappers.py b/lib/galaxy/tools/wrappers.py index 196f1845d72..0acf136163a 100644 --- a/lib/galaxy/tools/wrappers.py +++ b/lib/galaxy/tools/wrappers.py @@ -81,6 +81,9 @@ class InputValueWrapper( ToolParameterValueWrapper ): else: return super( InputValueWrapper, self ) == other + def __ne__( self, other ): + return not self == other + def __str__( self ): to_param_dict_string = self.input.to_param_dict_string( self.value, self._other_values ) if isinstance( to_param_dict_string, list ): @@ -146,6 +149,9 @@ class SelectToolParameterWrapper( ToolParameterValueWrapper ): else: return super( SelectToolParameterWrapper, self ) == other + def __ne__( self, other ): + return not self == other + def __str__( self ): # Assuming value is never a path - otherwise would need to pass # along following argument value_map=self._path_rewriter.