Skip to content

Commit

Permalink
Remove unneeded argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Nov 12, 2021
1 parent 9d18c91 commit b03d7d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/actions/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class LibraryActions:
Mixin for controllers that provide library functionality.
"""

def _upload_dataset(self, trans, library_id: str, folder_id: str, replace_dataset: Optional[LibraryDataset] = None, **kwd):
def _upload_dataset(self, trans, folder_id: str, replace_dataset: Optional[LibraryDataset] = None, **kwd):
# Set up the traditional tool state/params
cntrller = 'api'
tool_id = 'upload1'
Expand Down
1 change: 0 additions & 1 deletion lib/galaxy/webapps/galaxy/api/library_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ def _upload_library_dataset(self, trans, library_id, folder_id, **kwd):
return 400, message
else:
created_outputs_dict = self._upload_dataset(trans,
library_id=trans.security.encode_id(library.id),
folder_id=trans.security.encode_id(folder.id),
replace_dataset=replace_dataset,
**kwd)
Expand Down

0 comments on commit b03d7d0

Please sign in to comment.