diff --git a/spinn_front_end_common/interface/buffer_management/storage_objects/buffer_database.py b/spinn_front_end_common/interface/buffer_management/storage_objects/buffer_database.py index 65be6be47..68f0faa05 100644 --- a/spinn_front_end_common/interface/buffer_management/storage_objects/buffer_database.py +++ b/spinn_front_end_common/interface/buffer_management/storage_objects/buffer_database.py @@ -46,13 +46,12 @@ class BufferDatabase(BaseDatabase): __slots__ = () @classmethod - def reset_db(cls, reset_number: int, - read_only: Optional[bool] = None) -> "BufferDatabase": + def reset_db(cls, reset_number: int) -> "BufferDatabase": """ Retrieves a NeoBufferDatabase for this segment. """ database_file = cls.reset_file(reset_number) - return BufferDatabase(database_file, read_only) + return BufferDatabase(database_file) def clear_recording_region( self, x: int, y: int, p: int, region: int) -> bool: diff --git a/spinn_front_end_common/interface/provenance/provenance_reader.py b/spinn_front_end_common/interface/provenance/provenance_reader.py index 71e06b943..2b164107b 100644 --- a/spinn_front_end_common/interface/provenance/provenance_reader.py +++ b/spinn_front_end_common/interface/provenance/provenance_reader.py @@ -77,13 +77,12 @@ def __init__(self, provenance_data_path: Optional[str] = None): row_factory=None, text_factory=None) @classmethod - def reset_db(cls, reset_number: int, - read_only: Optional[bool] = None) -> "ProvenanceReader": + def reset_db(cls, reset_number: int) -> "ProvenanceReader": """ Retrieves a NeoBufferDatabase for this segment. """ database_file = cls.reset_file(reset_number) - return ProvenanceReader(database_file, read_only) + return ProvenanceReader(database_file) def run_query(self, query: str, params: Iterable[_SqliteTypes] = () ) -> List[Sequence[_SqliteTypes]]: