Skip to content

Commit 4652aa5

Browse files
committed
The binaries always exist when using virtual machine
1 parent 72df4aa commit 4652aa5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

spynnaker/pyNN/models/neuron/population_vertex.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,10 @@ def combined_binary_exists(self) -> bool:
523523
524524
:rtype: bool
525525
"""
526+
# If we are in virtual machine mode, we can work without binaries
527+
# so easier to assume they exist
528+
if SpynnakerDataView().is_virtual_machine_mode():
529+
return True
526530
try:
527531
SpynnakerDataView().get_executable_path(
528532
self.combined_binary_file_name)
@@ -537,6 +541,10 @@ def split_binaries_exist(self) -> bool:
537541
538542
:rtype: bool
539543
"""
544+
# If we are in virtual machine mode, we can work without binaries
545+
# so easier to assume they exist
546+
if SpynnakerDataView().is_virtual_machine_mode():
547+
return True
540548
try:
541549
SpynnakerDataView().get_executable_path(
542550
self.neuron_core_binary_file_name)

0 commit comments

Comments
 (0)