Skip to content

Commit 23f5a29

Browse files
committed
Use the right call
1 parent 4652aa5 commit 23f5a29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spynnaker/pyNN/models/neuron/population_vertex.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def combined_binary_exists(self) -> bool:
525525
"""
526526
# If we are in virtual machine mode, we can work without binaries
527527
# so easier to assume they exist
528-
if SpynnakerDataView().is_virtual_machine_mode():
528+
if get_config_bool("Machine", "virtual_board"):
529529
return True
530530
try:
531531
SpynnakerDataView().get_executable_path(
@@ -543,7 +543,7 @@ def split_binaries_exist(self) -> bool:
543543
"""
544544
# If we are in virtual machine mode, we can work without binaries
545545
# so easier to assume they exist
546-
if SpynnakerDataView().is_virtual_machine_mode():
546+
if get_config_bool("Machine", "virtual_board"):
547547
return True
548548
try:
549549
SpynnakerDataView().get_executable_path(

0 commit comments

Comments
 (0)