Replies: 2 comments 1 reply
-
|
Thanks for reporting! The issue happens because your SWC creates just a single branch. In that case, you can simply do: Does this work? Either way, the fact that |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Update: I have just released Jaxley version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
set_ncomp works fine where my cell model has both soma and axon, but when I try to import morphology with only soma or only axon to test that section, then set_ncomp raises this error (morphology attached).
Number of branches: 1
Traceback (most recent call last):
File ~/venv_jaxley/lib/python3.10/site-packages/spyder_kernels/customize/utils.py:209 in exec_encapsulate_locals
exec_fun(compile(code_ast, filename, "exec"), globals, None)
File ~/venv_jaxley/lib/python3.10/site-packages/spyder_kernels/customize/spyderpdb.py:856 in run
super(SpyderPdb, self).run(cmd, globals, locals)
File /usr/lib/python3.10/bdb.py:598 in run
exec(cmd, globals, locals)
File ~/
branch.set_ncomp(1 + 2*int(np.sum(branch.nodes["length"])/40), initialize=False)
File ~/venv_jaxley/lib/python3.10/site-packages/jaxley/modules/base.py:1175 in set_ncomp
and len(self._branches_in_view) == len(self.base._branches_in_view)
AssertionError: This is not allowed for cells.
cell1_axon (copy).txt
Beta Was this translation helpful? Give feedback.
All reactions