diff --git a/lib/galaxy/tools/actions/upload_common.py b/lib/galaxy/tools/actions/upload_common.py index b549b99a493d..fbd7734fe202 100644 --- a/lib/galaxy/tools/actions/upload_common.py +++ b/lib/galaxy/tools/actions/upload_common.py @@ -261,7 +261,7 @@ def __new_library_upload(trans, cntrller, uploaded_dataset, library_bunch, tag_h def new_upload( - trans: ProvidesUserContext, cntrller, uploaded_dataset, library_bunch=None, history=None, state=None, tag_list=None + trans: ProvidesUserContext, cntrller, uploaded_dataset, library_bunch=None, history=None, state=None ): tag_handler = trans.tag_handler if library_bunch: @@ -279,12 +279,9 @@ def new_upload( if uploaded_dataset.tags: new_tags = tag_handler.parse_tags_list(uploaded_dataset.tags.split(",")) for tag in new_tags: - log.info(f"applying item tag.... {tag}") tag_handler.apply_item_tag( user=trans.user, item=upload_target_dataset_instance, name=tag[0], value=tag[1], flush=True ) - if tag_list: - tag_handler.add_tags_from_list(trans.user, upload_target_dataset_instance, tag_list, flush=False) return upload_target_dataset_instance