There was an error while loading. Please reload this page.
2 parents b759fab + 9a5dfe9 commit c03e160Copy full SHA for c03e160
1 file changed
bioblend/galaxy/invocations/__init__.py
@@ -250,9 +250,7 @@ def rerun_invocation(
250
raise
251
# Galaxy release_24.1 or earlier
252
invocation = self.show_invocation(invocation_id)
253
- workflow_step_id_to_index = {
254
- step["workflow_step_id"]: index for index, step in enumerate(invocation["steps"])
255
- }
+ workflow_step_id_to_index = {step["workflow_step_id"]: step["order_index"] for step in invocation["steps"]}
256
# Merge input_step_parameters (indexed by label) into inputs (indexed by step index)
257
inputs = invocation["inputs"]
258
for param_input_dict in invocation["input_step_parameters"].values():
0 commit comments