nest-simulator icon indicating copy to clipboard operation
nest-simulator copied to clipboard

Dependency between `nest.CopyModel` and `nest.Install`

Open med-ayssar opened this issue 3 years ago • 3 comments

Describe the bug Once the functionnest.CopyModel is called, it prevents from installing further modules, and I don't see any necessary dependencies between copying an existing model and installing a new one.
To Reproduce Steps to reproduce the behavior:

  1. Install an existing synapse model synapsemodule.so
  2. Call nest.CopyModel("installed_synapse_name, "new_synapse_name")
  3. Install an existing neuron model neuronmodule.so
  4. After the call in the third step, SLI throws the following:
    • DynamicModuleManagementError in SLI function Install: Modules cannot be installed after CopyModel has been called

Expected behavior nest.CopyModel and nest.Install must be decoupled.

med-ayssar avatar Feb 07 '22 17:02 med-ayssar

@jougs Do you think this will be fixed with the module system refactoring?

stinebuu avatar Feb 08 '22 13:02 stinebuu

Yes, this restriction should go away then. Possibly already with the merge of #2208, but I lost the overview a bit on that one...

jougs avatar Feb 14 '22 13:02 jougs

Issue automatically marked stale!

github-actions[bot] avatar Apr 16 '22 08:04 github-actions[bot]

I have tested this again with the current NEST version, and it seems that it has been already fixed!

med-ayssar avatar Nov 28 '22 12:11 med-ayssar