-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
Cannot make a model a "target" into a NEURON network #10
Comments
If you can find a way to fix it, I'm happy to review a PR to merge the
change!
…On Sun, Jun 23, 2019, 3:58 AM Stefano ***@***.***> wrote:
Hi.
I have used your code, for the past year, without issues.
Now I'm trying to make a small scale network using PyNeuron-Toolbox to
load the morphology of a model. I can correctly simulate, stimulate and
record the cell in the network, but when i define it as a target for other
cells, NEURONS replayed with a "NoneType".
I have tried the same code with another model, with a "built in"
morphology, and everything is fine.
cell = self, which is critical, is present. Maybe defining self.soma[0]
causes the issue but i cannot change it back to a classic self.soma.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AAE3NUIBDBCKVSPLSBJISGLP34ULLA5CNFSM4H2YKMHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3EERVA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAE3NUKNGL6ZGV7FCWQXRHDP34ULLANCNFSM4H2YKMHA>
.
|
Can you clarify what you mean by "NEURONS replayed with a 'NoneType'"? Note that NEURON 7.5 and later (current version is 7.7) directly support instantiating a morphology in a Python cell class; an example method follows:
(The above is for SWC files. Other morphology file formats work with the appropriate reader class: Import3d_SWC_read for swc, Import3d_Neurolucida3 for Neurolucida V3, Import3d_MorphML for MorphML (level 1 of NeuroML), or Import3d_Eutectic_read for Eutectic.) |
Hi.
If i load the model using PyNeuron-Toolbox: Trying with your code @ramcdougal, without changing anything else, self.soma[0] included: Thank you. |
I'm glad that solution worked for you. I believe the problem you ran into is that this code wasn't associating sections with cell objects. Can you see if the change at fixes your original problem? Thank you. |
Yes, it solved the original issue. |
Hi.
I have used your code, for the past year, without issues.
Now I'm trying to make a small scale network using PyNeuron-Toolbox to load the morphology of a model. I can correctly simulate, stimulate and record the cell in the network, but when i define it as a target for other cells, NEURONS replayed with a "NoneType".
I have tried the same code with another model, with a "built in" morphology, and everything is fine.
cell = self, which is critical, is present. Maybe defining self.soma[0] causes the issue but i cannot change it back to a classic self.soma.
The text was updated successfully, but these errors were encountered: