Skip to content

Commit

Permalink
handle None
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 18, 2024
1 parent bccc887 commit f1eca1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spinn_front_end_common/interface/abstract_spinnaker_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,8 @@ def _deduce_data_n_timesteps(
max_time_steps = min(max_time_steps, max_this_chip)

if not get_config_bool("Buffers", "use_auto_pause_and_resume"):
if (max_time_steps < n_machine_time_steps):
if ((n_machine_time_steps is not None and)
(max_time_steps < n_machine_time_steps)):
raise ConfigurationException(
"The SDRAM required by one or more vertices is based on "
"the run time, so the run time is limited to "
Expand Down

0 comments on commit f1eca1f

Please sign in to comment.