Open ramcdougal opened 3 years ago
Good idea!
It might be worth trying to check how many NEURON models on ModelDB would fail a modlunit
check...
... but hopefully most of those just don't have units specified and there isn't anything wrong with the mod file per se... this is a potentially opportunity for curation and improved model quality either now or for the future.
EDIT: even if some models fail for other reasons, that's not a reason not to make this change.
Unit checking of mod files should be run by default during nrnivmodl compilation. (GUI compilation alternatives should do the same.)
This could be disabled with a flag for older mod files, e.g.
--no-units-checking
:A major version bump is the time to make such a change, and impacts to older models could be minimized by having a clear error message mentioning how to disable units checking.