Skip to content

Commit

Permalink
Slight tweak of logic in tag filtering PJA
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jun 1, 2017
1 parent 967c363 commit 0c43954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/actions/post.py
Expand Up @@ -330,7 +330,7 @@ class TagDatasetAction(DefaultJobAction):
@classmethod
def execute(cls, app, sa_session, action, job, replacement_dict):
if action.action_arguments:
tags = [t.strip() for t in action.action_arguments.get('tags', '').split(',') if t.strip() != '']
tags = [t.strip() for t in action.action_arguments.get('tags', '').split(',') if t.strip()]
if tags:
for dataset_assoc in job.output_datasets:
if action.output_name == '' or dataset_assoc.name == action.output_name:
Expand Down

0 comments on commit 0c43954

Please sign in to comment.