Created
December 15, 2022 22:24
-
-
Save dannon/e6f8d90ca013e9462e421e3814717658 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1mdiff --git a/lib/galaxy/webapps/galaxy/controllers/workflow.py b/lib/galaxy/webapps/galaxy/controllers/workflow.py[m | |
[1mindex 63a8d66698..3e51a7d830 100644[m | |
[1m--- a/lib/galaxy/webapps/galaxy/controllers/workflow.py[m | |
[1m+++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py[m | |
[36m@@ -538,16 +538,13 @@[m [mclass WorkflowController(BaseUIController, SharableMixin, UsesStoredWorkflowMixi[m | |
][m | |
[m | |
# identify item tags[m | |
[31m- item_tags = [tag for tag in stored.tags if tag.user == trans.user][m | |
[31m- item_tag_names = [][m | |
[31m- for ta in item_tags:[m | |
[31m- item_tag_names.append(escape(ta.tag.name))[m | |
[32m+[m[32m item_tags = stored.make_tag_string_list()[m | |
[m | |
# build workflow editor model[m | |
editor_config = {[m | |
"id": trans.security.encode_id(stored.id),[m | |
"name": stored.name,[m | |
[31m- "tags": item_tag_names,[m | |
[32m+[m[32m "tags": item_tags,[m | |
"initialVersion": version,[m | |
"annotation": self.get_item_annotation_str(trans.sa_session, trans.user, stored),[m | |
"moduleSections": module_sections,[m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment