Skip to content

Commit

Permalink
fix: remove bsb-nest dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
drodarie committed Aug 14, 2024
1 parent fa163c8 commit 7e32d4d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,6 @@ dmypy.json
.pyre/

.idea/

*.h5
*.hdf5
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ parallel = ["bsb-core[parallel]"]
test = [
"bsb-core[parallel]",
"bsb-hdf5~=4.0",
"bsb-nest~=4.1",
"bsb-test~=4.2",
"coverage~=7.0"
]
Expand Down
10 changes: 7 additions & 3 deletions tests/test_arbor.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import unittest

from bsb import MPI, Scaffold, parse_configuration_file
from bsb_test import RandomStorageFixture, get_test_config
from bsb import MPI, Configuration, Scaffold
from bsb_test import RandomStorageFixture, get_test_config_tree


@unittest.skipIf(MPI.get_size() > 1, "Skipped during parallel testing.")
class TestArbor(RandomStorageFixture, unittest.TestCase, engine_name="hdf5"):
def test_brunel(self):
cfg = get_test_config("brunel_wbsb")
cfg = get_test_config_tree("brunel_wbsb")
# Remove unused nest simulation
# This way we do not have to install nest
del cfg["simulations"]["test_nest"]
cfg = Configuration(cfg)
simcfg = cfg.simulations.test_arbor

network = Scaffold(cfg, self.storage)
Expand Down

0 comments on commit 7e32d4d

Please sign in to comment.