Open JCGoran opened 6 months ago
I'm in favor of this. Multiple groups, each with potentially multiple directories seems general enough to cover all cases for building the nrnmech libraries. The only thing I wonder about is if the concept of multiple groups should be replaced by a hierarchical level just below the accession number so that distinct runs for each group can be performed. But that can be deferred to the indefinite future since it potentially involves modification of nrnivmodl. I've lost track of the capabilities and limitations of nrnivmodl and its consistency with nrnivmodl-core. I do know that the last time I changed nrnivmodl it allowed multiple directories and multiple specific file.mod paths allowing spaces in path names (but nrnivmodl_core did not).
Work on fixing #118.
Changes
runmodels
can now compile mod files from multiple directories in isolation. Note that for existing models which havemodel_dir
set to multiple dirs (likepath1;path2...
), those are still compiled together to be consistent with current behaviormodel_dir
a YAML array instead of a string. As stated above, any existing models that havemodel_dir
set retain the same behavior, except now we are able to compile multiple directory groups (in isolation) instead of just one group, so we can set something like:and those 2 groups will be compiled independently.
Prerequisites