Skip to content

Commit

Permalink
fix: networkx NodeView and random.shuffle incompatible (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil authored Feb 24, 2025
1 parent 1807a97 commit 0127c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioconda_utils/autobump.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async def queue_items(self, send_q, return_q):
# Keep set of recipes "in flight"
sent: Set[Recipe] = set()
while dag:
remaining_recipes = dag.nodes()
remaining_recipes = list(dag.nodes())
if self.shuffle:
random.shuffle(remaining_recipes)
for recipe in remaining_recipes:
Expand Down

0 comments on commit 0127c7f

Please sign in to comment.