Skip to content

Commit

Permalink
Bump version 0.0.0b8 → 0.0.0b9: Fix nest configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Feb 16, 2024
1 parent 6edb7a7 commit 9294c88
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.0b8
current_version = 0.0.0b9
files = bsb_test/__init__.py
commit = True
tag = True
Expand Down
2 changes: 1 addition & 1 deletion bsb_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
)
from .parallel import *

__version__ = "0.0.0b8"
__version__ = "0.0.0b9"


class NetworkFixture:
Expand Down
5 changes: 4 additions & 1 deletion bsb_test/configs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@


def get_test_config_module(name: str):
return importlib.import_module(f".{name}", package=get_test_config.__module__)
try:
return importlib.import_module(f".{name}", package=get_test_config.__module__)
except Exception as e:
raise ValueError(f"'{name}' is not a known test configuration.") from e


def get_test_config_tree(name: str):
Expand Down
6 changes: 2 additions & 4 deletions bsb_test/configs/brunel.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@
"device": "poisson_generator",
"rate": 17789.007714721884,
"targetting": {"strategy": "all"},
"$import": {
"ref": "#../../connection_models/excitatory_to_excitatory/synapse",
"values": ["weight", "delay"],
},
"weight": 20.68015524367846,
"delay": 1.5,
},
"sr_exc": {
"device": "spike_recorder",
Expand Down
6 changes: 2 additions & 4 deletions bsb_test/configs/brunel_wbsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@
"device": "poisson_generator",
"rate": 17789.007714721884,
"targetting": {"strategy": "all"},
"$import": {
"ref": "#../../connection_models/excitatory_to_excitatory/synapse",
"values": ["weight", "delay"],
},
"weight": 20.68015524367846,
"delay": 1.5,
},
"sr_exc": {
"device": "spike_recorder",
Expand Down

0 comments on commit 9294c88

Please sign in to comment.