Skip to content
Snippets Groups Projects
Unverified Commit e536cad4 authored by Sebastian Schmitt's avatar Sebastian Schmitt Committed by GitHub
Browse files

Update comment about example swc file (#1490)

parent 5d4220f4
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ import pandas, seaborn
import sys
# Load a cell morphology from an swc file.
# Example present here: morph.swc
# Example present here: single_cell_detailed.swc
if len(sys.argv) < 2:
print("No SWC file passed to the program")
sys.exit(0)
......@@ -30,7 +30,7 @@ defs = {'soma': '(tag 1)', # soma has tag 1 in swc files.
'axon': '(tag 2)', # axon has tag 2 in swc files.
'dend': '(tag 3)', # dendrites have tag 3 in swc files.
'root': '(root)', # the start of the soma in this morphology is at the root of the cell.
'stim_site': '(location 0 0.5)', # site for the stimulus, in the middle of branch 1.
'stim_site': '(location 0 0.5)', # site for the stimulus, in the middle of branch 0.
'axon_end': '(restrict (terminal) (region "axon"))'} # end of the axon.
labels = arbor.label_dict(defs)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment