Skip to content

Commit

Permalink
[BBPBGLIB-1135] Move CompartmentMapping to python (#133)
Browse files Browse the repository at this point in the history
## Context
Addresses BBPBGLIB-1135
Move the functionality of the CompartmentMapping.hoc to python and
remove the mapping.py auxiliar file

## Review
* [x] PR description is complete
* [x] Coding style (imports, function length, New functions, classes or
files) are good
* [ ] Unit/Scientific test added
* [ ] Updated Readme, in-code, developer documentation
  • Loading branch information
jorblancoa authored Feb 28, 2024
1 parent ffd3feb commit b5c1605
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 310 deletions.
285 changes: 0 additions & 285 deletions core/hoc/CompartmentMapping.hoc

This file was deleted.

1 change: 0 additions & 1 deletion core/hoc/mapping.py

This file was deleted.

20 changes: 0 additions & 20 deletions core/python/mapping.py

This file was deleted.

1 change: 0 additions & 1 deletion neurodamus/core/_neurodamus.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def _init(cls, **kwargs):

# Additional libraries introduced in saveUpdate
sys.path.append(os.environ['HOC_LIBRARY_PATH'])
cls.load_hoc("CompartmentMapping")

# Attempt to instantiate BBSaveState to early detect errors
cls._h.BBSaveState()
Expand Down
Loading

0 comments on commit b5c1605

Please sign in to comment.