-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* changed plugin names * linting * `simulation/__init__.py` is no longer a barrel file * minimized adapter interface while we rework * reworked simulation backends in prep of move at eof rework * Pass simulation object around, time for adapters! * removed nodes.py * added compile submodule with some tricky circulars * removed references to config.nodes module * updated references to stuff that's now in _compile * added content of `config.nodes` to other files * moved distributions to new file * Distributions can be more easily constructed from constant * Fixed distribution type handler errors * Removed `from_hdf5`. Added generic `from_storage` * removed `missing_ok` test, as `missing_ok` doesn't appear anywhere. * Added parameter class * Allow `from_file` to open paths * Fixed `__inv__` of distributions * Add arguments to parser before the options * Factored out `open_storage` * linted, added `reconfigure` and `simulate` commands and use `from_file` * simulation CLI command with configurable sim source * Fixed `from_content` error message * Import devices module to load classmap * Moved `relay` to CellModel. closes #638 * linting * Fixed extra sims * Added `by_label` targetting stub * removed device_protocol reference for now * fixed up neuron config * moved `validate_prepare` to connection model. depends on strategy now * Fixed empty branch errors * Single sim: composition through Cosimulation * Started on rework of NEURON adapter * store scaffold reference. transfer simulation vars. * Added `get_chunk_stats` and `read_only` mode. closes bsb-hdf5#5 * Quick Neo-results stub rewrite * Added `immutable` decorator * Linting * wip CSIterator * updated requirements * ConnectivityIterator can produce scoped and global ids * added `chunklist` (sorted list of chunks) * Fixed main * ignore json * If dynamic attr isn't required, fallback to class name after default * lint * Parameter spaceholders, models/strats should provide meaningful params * tweaks * made `class_` type handler invert back to class name * fixed result init * gave simulations a name key * fixed scaffold access in load balance * write sim results to uuid * `class_` inversion looks up type if value isn't a class * return result * pass simulation data along where it's needed * fixed recorders, results * post prepare hooks * messy adapter WIP: lets us run a sim with cells for now * cell model instantiation through Arborize strategy * fixed deps and imports * Fixed ConnectivityIterator.__copy__() method (#651) Co-authored-by: Robin De Schepper <robin.deschepper93@gmail.com> * added conn_type_ref * fixed conn type ref * cleaned up imports * bumped version * wip connections * wip connections * cast `from_id` input to int * sort cell types by name * numpy compatible len check * `pre` and `post` renamed to `pre_type` and `post_type` * sortable cell models * added sim util functions * Public CSIterator now iterates `pre`, `post` blocks * chunk context no longer vararg * added connections * f-string * rewrote targetting * removed dead adapter code * adapted neuron devices to new dynamic class structure * wip voltage clamp * added `up` traversal for refs, fixed SimCellModel ref * fixed sim result recording * fixed targetting signatures * added neuron specific result recording * refactored signature * removed relays from sim, replaced more `from_hdf5` refs * Fixed docbuild * typed chunklist * removed occurence of `relay` * fixed load all tests * cleaned up imports * bumped * re-added exception imports * cache transition hit * If `boot` hook errors, show which node it is * fixed distribution inv * added a bit of type hints to the `Scaffold`class * added BootError * removed prints * added comment * removed old device interface * removed old device mixins * fixed `_map_transmitters` with 0 transmitters * removed old sim config * also try `1.1.1.1` IP for connection helper * changed imports * fixed connectivity tests * fixed imports * updated unittest tests * bumped to a45 * bumped to a46 * bumped requirements * removed deprecated test * fixed deprecated overflow cast * Refactored expectedFailures * fixed doc build Co-authored-by: alessiomarta <81438612+alessiomarta@users.noreply.github.com>
- Loading branch information
1 parent
5ab36d8
commit e329910
Showing
101 changed files
with
2,224 additions
and
2,579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ __pycache__/ | |
*.hdf5 | ||
*.swc | ||
*.h5 | ||
*.json | ||
build/ | ||
dist/ | ||
bsb-*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,6 @@ formats: all | |
python: | ||
version: 3.8 | ||
install: | ||
- method: pip | ||
path: . | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "4.0.0a43" | ||
__version__ = "4.0.0a46" | ||
|
||
import functools | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from . import cli | ||
|
||
cli.scaffold_cli() | ||
cli.handle_cli() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.