Skip to content

[Bug report] simulations should not silently proceed if mechanisms cannot be inserted #864

@sanjayankur31

Description

@sanjayankur31

Describe the bug

If one runs a netpyne script but forgets to compile the mod files, the simulation gives an error, but still proceeds. This is unexpected behaviour and a message is not quite enough because it'll likely be buried in lots of other messages that the simulation produces:

This is the code:

"ERROR: Some mechanisms and/or ions were not inserted (for details run with cfg.verbose=True). Make sure the required mod files are compiled."

It should throw an exception and stop, because the model/simulation with missing mechanisms is just wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions