Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
lldelisle committed Sep 8, 2023
1 parent 238ea6a commit b7982ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/galaxy/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3583,8 +3583,9 @@ def produce_outputs(self, trans, out_data, output_collections, incoming, history
for element in elements2:
old_elements2_dict[element.element_identifier] = element
# Get the list of final identifiers
final_sorted_identifiers = [element.element_identifier for element in elements1
if element.element_identifier in old_elements2_dict]
final_sorted_identifiers = [
element.element_identifier for element in elements1 if element.element_identifier in old_elements2_dict
]
# Raise Exception if it is empty
if len(final_sorted_identifiers) == 0:
# Create empty collections:
Expand Down Expand Up @@ -3612,6 +3613,7 @@ def output_with_selected_identifiers(old_elements_dict, output_label):
output_collections.create_collection(
next(iter(self.outputs.values())), output_label, elements=new_elements, propagate_hda_tags=False
)

# Create outputs:
output_with_selected_identifiers(old_elements1_dict, "output1")
output_with_selected_identifiers(old_elements2_dict, "output2")
Expand Down

0 comments on commit b7982ea

Please sign in to comment.