Skip to content

Commit

Permalink
remove cached properties in Storages (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdele committed Mar 25, 2020
1 parent ad584d1 commit 600d638
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bluepysnap/edges.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, config, circuit):
self._circuit = circuit
self._populations = {}

@cached_property
@property
def storage(self):
"""Access to the libsonata edge storage."""
return libsonata.EdgeStorage(self._h5_filepath)
Expand Down
2 changes: 1 addition & 1 deletion bluepysnap/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, config, circuit):
self._circuit = circuit
self._populations = {}

@cached_property
@property
def storage(self):
"""Access to the libsonata node storage."""
return libsonata.NodeStorage(self._h5_filepath)
Expand Down

0 comments on commit 600d638

Please sign in to comment.