diff --git a/spynnaker/pyNN/models/recorder.py b/spynnaker/pyNN/models/recorder.py index 8e1dad215f..af0cc04079 100644 --- a/spynnaker/pyNN/models/recorder.py +++ b/spynnaker/pyNN/models/recorder.py @@ -269,7 +269,7 @@ def cache_data(self): if variables: segment_number = SpynnakerDataView.get_segment_counter() self.__data_cache[segment_number] = \ - NeoBufferDatabase.default_database_file() + SpynnakerDataView.get_buffer_database().get_path() def __append_current_segment(self, block, variables, view_indexes, clear): """ diff --git a/spynnaker/pyNN/utilities/neo_buffer_database.py b/spynnaker/pyNN/utilities/neo_buffer_database.py index c44a6d1a43..aafe55367b 100644 --- a/spynnaker/pyNN/utilities/neo_buffer_database.py +++ b/spynnaker/pyNN/utilities/neo_buffer_database.py @@ -72,7 +72,6 @@ def __init__(self, database_file=None, read_only=None): This allows to override that (mainly for clear) """ if database_file is None: - database_file = self.default_database_file() if read_only is None: read_only = False else: