Skip to content

Commit

Permalink
Add missing signatures for the MorphologyRepository metadata access. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
drodarie committed Jul 31, 2023
1 parent 1c06f47 commit 05fd0c9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bsb/storage/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,24 @@ def get_meta(self, name):
"""
pass

@abc.abstractmethod
def get_all_meta(self):
"""
Get the metadata of all stored morphologies.
:returns: Metadata dictionary
:rtype: dict
"""
pass

@abc.abstractmethod
def set_all_meta(self, all_meta):
"""
Set the metadata of all stored morphologies.
:param all_meta: Metadata dictionary.
:type all_meta: dict
"""
pass

def import_swc(self, file, name=None, overwrite=False):
"""
Import and store .swc file contents as a morphology in the repository.
Expand Down

0 comments on commit 05fd0c9

Please sign in to comment.