Replies: 1 comment
-
|
At the moment, from the interpreter, it is only possible to clear all the gids with https://nrn.readthedocs.io/en/latest/progref/modelspec/programmatic/network/parcon.html#ParallelContext.gid_clear However, looking at the implementation of set_gid2node and noting that the error message occurs before any internal structures are changed, you are safe to continue after the exception. I.e. the gid has not been registered and the next |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
During my code for registration as a parallel output there's sometimes errors, and I'd like to fully revert in the except clause, note here how the 2nd attempt gets stuck on a new error left over from the previous registration:
I think these are the relevant steps taken:
How can I undo these operations so that it's safe for the user to try my
ParallelConagain?Beta Was this translation helpful? Give feedback.
All reactions