-
Notifications
You must be signed in to change notification settings - Fork 122
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
NEURON: Pointer to src is not in the currently accessed section <Astrocyte.Astrocyte object at 0x14da04650b20>.soma #1523
Comments
I don't see anything wrong with the syntax. |
So that's one way of specifying an rxd pointer, yes. I think the problem is that source_var's checking of sections doesn't know how to look up rxd things. |
wondering if it is easy to fix.
…On Wed, Nov 10, 2021 at 1:03 ramcdougal ***@***.***> wrote:
So that's one way of specifying an rxd pointer, yes. I think the problem
is that source_var's checking of sections doesn't know how to look up rxd
things.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1523 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHLBZ5FB3MPMRYFP62MUFTULFA67ANCNFSM5HNASULQ>
.
|
For the short term I can start a branch that uses the old pointer if it can't figure it out during update. Of course that relies on the rxd pointer being stable. That should be ok if all your rxd setup is finished prior to your calls to |
Works for me.
…On Wed, Nov 10, 2021 at 20:21 nrnhines ***@***.***> wrote:
For the short term I can start a branch that uses the old pointer if it
can't figure it out during update. Of course that relies on the rxd pointer
being stable. That should be ok if all your rxd setup is finished prior to
your calls to pc.source_var. Let me know if that workaround would be
helpful.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1523 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHLBZ4ZHIQDM5JFOQILX73ULJIVNANCNFSM5HNASULQ>
.
|
Does the error message you receive look like |
Turned out the effort was more than I self-bargained for but I think the https://github.com/neuronsimulator/nrn/tree/rxd-sourcevar |
Is the above expected error (I'm using @nrnhines 's dev branch)? |
Cc: @tatenokatsumi |
Are you sure you are using the branch. That error message was commented out and replaced by a Notice.
Feel free to comment out the notice if you see too many of them. |
Ah, you are right.
Is this the expected error? |
The Notice makes sense given this issue.. The IndexError is a python error that is likely a bug in your program. |
It seems now working. Thanks. |
@nrnhines is this merged upstream? |
I'd like to switch back to master if that's the case. |
@pramod @ramcdougal This was not made a pull request. For the short term I can (will) make this a pull request, mark it as "work in progress" and merge the master into the branch so it will be up to date. The assumption of rxd pointer stability is not something I'm sure is warranted. And I haven't discussed this in detail with Robert. At any rate, turning off the code that raises an error if a pointer can't be updated is too generic, even though it's ok for your rxd pointers under your usage circumstances. |
Is this supposed to work?
The text was updated successfully, but these errors were encountered: