diff --git a/lib/galaxy/tools/data/__init__.py b/lib/galaxy/tools/data/__init__.py index 1638ab6e8f0..f4a97c3cab9 100644 --- a/lib/galaxy/tools/data/__init__.py +++ b/lib/galaxy/tools/data/__init__.py @@ -211,11 +211,11 @@ class ToolDataTable( object ): self.add_entry( entry, allow_duplicates=allow_duplicates, persist=persist, persist_on_error=persist_on_error, entry_source=entry_source, **kwd ) return self._loaded_content_version - def _remove_entry(self, values, **kwd): + def _remove_entry(self, values): raise NotImplementedError( "Abstract method" ) - def remove_entry(self, values, **kwd): - self._remove_entry_and_reload( values,**kwd ) + def remove_entry(self, values): + self._remove_entry( values ) return self._update_version() def is_current_version( self, other_version ): @@ -513,7 +513,7 @@ class TabularToolDataTable( ToolDataTable, Dictifiable ): data_table_fh.write( "%s\n" % ( self.separator.join( fields ) ) ) return not is_error - def _remove_entry_and_reload( self, values): + def _remove_entry( self, values): # update every file for filename in self.filenames: diff --git a/lib/galaxy/webapps/galaxy/api/tool_data.py b/lib/galaxy/webapps/galaxy/api/tool_data.py index f6aa21f7a0c..9ecc92a6182 100644 --- a/lib/galaxy/webapps/galaxy/api/tool_data.py +++ b/lib/galaxy/webapps/galaxy/api/tool_data.py @@ -26,10 +26,10 @@ class ToolData( BaseAPIController ): def delete( self, trans, id, **kwd ): """ DELETE /api/tool_data/{id} - Removes a role from a group + Removes an item from a data table :type id: str - :param id: the encoded id of the history to delete + :param id: the id of the data table containing the item to delete :type kwd: dict :param kwd: (required) dictionary structure containing: