Skip to content

Commit

Permalink
Fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjorthmedh committed Sep 2, 2024
1 parent e4a49b8 commit 2fa8dcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion snudda/neurons/neuron_model_extended.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def define_morphology(self, replace_axon=True, morph_file=None,
return ephys.morphologies.NrnFileMorphology(morph_file, do_replace_axon=replace_axon,
axon_stub_length=replace_axon_length*1e6,
axon_nseg_frequency=replace_axon_nseg_frequency*1e6)

##############################################################################

# Neuron_morphology defines sectionID, these must match what this returns
Expand Down
5 changes: 2 additions & 3 deletions tests/validation/dspn_neurons_rxd/dspn_rxd/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
"m2": {
"morphology": "WT-0728MSN01-cor-rep-ax-copy.swc",
"axon_stump": {
"axon_length": [30e-6, 40e-6, 50e-6],
"axon_diameter": [1.5e-6, 1e-6, 0.5e-6],
"axon_nseg": [1, 3, 5]
"axon_length": 70e-6,
"axon_nseg_frequency": 20e-6
}
}
}
Expand Down

0 comments on commit 2fa8dcd

Please sign in to comment.