-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding examples for remove connections for 2 circuits (#1)
* adding examples for removing connection. one for sscx one for simple small circuit * moved dev files, and updated structure of folder, removed some irrelevant files * added README and had first successful conn_removal example under output/example_circuit_nodeA but the amount_pct is hard_coded in the code and structure is not clearly defined. TBF * clean old files * fixed config * add readme, clean logs * restructure remove conns * update str comp for multipop * remove extra notebook and clean the existing one * add readme and move example circuit * add readme and move example circuit 2 * update readme * fixing conn_removal.py for edge case of connectome size smaller than nsplit and fixing examples * fixing edge writer * add copyright info * fix notebook * Stop tracking .txt log files in examples/ and update .gitignore and add readme under example circuits * actually add readme under example circuits * remove output/logs/ for examples * Revert file to match upstream version
- Loading branch information
1 parent
a9b28dc
commit 228469e
Showing
49 changed files
with
67,414 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Example Circuits | ||
|
||
This folder contains circuits that can be given to connectome manipulator as input. As a minimal use case, we added [a small SONATA circuit](./circuit_sonata_quick_scx_multi_circuit) from BlueCelluLab library: | ||
|
||
https://github.com/BlueBrain/BlueCelluLab/tree/main/examples/2-sonata-network | ||
|
||
|
||
The other examples can be accessed using the notebooks from each example. |
1 change: 1 addition & 0 deletions
1
examples/circuits/circuit_sonata_quick_scx_multi_circuit/.exception_node
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
5 |
63 changes: 63 additions & 0 deletions
63
examples/circuits/circuit_sonata_quick_scx_multi_circuit/circuit_config.json
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"version": 2, | ||
"node_sets_file": "./node_sets.json", | ||
"networks": { | ||
"nodes": [ | ||
{ | ||
"nodes_file": "nodes_A.h5", | ||
"populations": { | ||
"NodeA": { | ||
"type": "biophysical", | ||
"morphologies_dir": "./components/CircuitA/morphologies/swc", | ||
"biophysical_neuron_models_dir": "./components/CircuitA/hoc", | ||
"alternate_morphologies": { | ||
"neurolucida-asc": "./components/CircuitA/morphologies/asc" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"nodes_file": "nodes_B.h5", | ||
"populations": { | ||
"NodeB": { | ||
"type": "biophysical", | ||
"morphologies_dir": "./components/CircuitB/morphologies/swc", | ||
"biophysical_neuron_models_dir": "./components/CircuitB/hoc", | ||
"alternate_morphologies": { | ||
"neurolucida-asc": "./components/CircuitB/morphologies/asc" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"edges_file": "local_edges_A.h5", | ||
"populations": { | ||
"NodeA__NodeA__chemical": { | ||
"type": "chemical" | ||
} | ||
} | ||
}, | ||
{ | ||
"edges_file": "local_edges_B.h5", | ||
"populations": { | ||
"NodeB__NodeB__chemical": { | ||
"type": "chemical" | ||
} | ||
} | ||
}, | ||
{ | ||
"edges_file": "edges_AB.h5", | ||
"populations": { | ||
"NodeA__NodeB__chemical": { | ||
"type": "chemical" | ||
}, | ||
"NodeB__NodeA__chemical": { | ||
"type": "chemical" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.