Skip to content

Commit

Permalink
check for None
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 9, 2024
1 parent a709d9e commit d2646b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mcmc/mcmc_coordinator_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ def generate_data_specification(
if self._is_receiver_placement(mcmc_placement):
key = routing_info.get_first_key_from_pre_vertex(
vertex, self._acknowledge_partition_name)
keys.append(key)
if key is not None:
keys.append(key)
keys.sort()

# Write the data size in words
Expand Down

0 comments on commit d2646b3

Please sign in to comment.