Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the bioblend test failures #18991

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/galaxy/actions/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ def _upload_dataset(self, trans, folder_id: int, payload):
raise exceptions.InvalidFileFormatError("Invalid folder specified")
# Proceed with (mostly) regular upload processing if we're still errorless
if payload.upload_option == "upload_file":
for i, upload_dataset in enumerate(tool_params["files"]):
upload_dataset["file_data"] = payload.upload_files[i]
if payload.upload_files:
for i, upload_dataset in enumerate(tool_params["files"]):
upload_dataset["file_data"] = payload.upload_files[i]
tool_params = upload_common.persist_uploads(tool_params, trans)
uploaded_datasets = upload_common.get_uploaded_datasets(
trans, cntrller, tool_params, dataset_upload_inputs, library_bunch=library_bunch
Expand Down
Loading