Dear Gustavo,

Could you give us more context?

Are you running the script in Jupyternotebook or simply running the python script.

For the former case, I suggest first to restart the notebook Kernel. For the latter case, could you elaborate more on how you build the nestml module and where do you install it in your file system.

Best,
Ayssar


From: gustavo.patow@udg.edu <gustavo.patow@udg.edu>
Sent: Thursday, April 20, 2023 8:59:28 PM
To: users@nest-simulator.org
Subject: [NEST Users] Reloading and debugging a nestml module
 
Hi,
  Continuing with my exploration, I am now developing my own nestML module. I successfully compiled it and ran it without errors or problems. However, the result was not what I expect, so I modified the nestML code, compiled it, and... well, I tried to re-install it with
nest.Install("nestmlmodule")
 and I get an error that the module was already loaded. When I try to rerun my simulation, I get the old result, not the new one. How do I do to reload the module? I've searched through the documentation and I do not find any reload, reinstall, or anything similar... Is there any other way than killing everything and starting over from scratch?

By the way, are there any debug tools for a nestML module? I tend to make zillions of mistakes, and any way of inspecting the behavior of the module and the state of the internal variables would be of incredible help!

thanks!!!
gus.-
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Stefan Müller
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens,
Prof. Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------