We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import jaxley as jx import pickle cell = jx.read_swc("tests/swc_files/morph_250.swc", ncomp=2) with open("test.pkl", "wb") as handle: pickle.dump(cell, handle)
This must be because I made the _radius_generating_fn an attribute of cell, such that one can post-hoc run set_ncomp().
_radius_generating_fn
set_ncomp()
The text was updated successfully, but these errors were encountered:
A super quick fix (that does no longer allow calling set_ncomp() is to do:
cell = jx.read_swc("../../tests/swc_files/morph_250.swc", ncomp=2) cell._radius_generating_fns = None with open("test.pkl", "wb") as handle: pickle.dump(cell, handle)
Sorry, something went wrong.
oh damn. This should have been caught by tests/test_pickle. We should add another test_case here.
tests/test_pickle
Can also make use the fixtures in conftest.py.
conftest.py
jnsbck
Successfully merging a pull request may close this issue.
This must be because I made the
_radius_generating_fn
an attribute of cell, such that one can post-hoc runset_ncomp()
.The text was updated successfully, but these errors were encountered: