neuronsimulator / nrn-modeldb-ci

NEURON ModelDB CI tools
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Tweak models that are now using different mosinit.hoc files #85

Closed olupton closed 1 year ago

olupton commented 1 year ago

https://github.com/neuronsimulator/nrn-modeldb-ci/pull/84 changed the conflict-resolution policy when finding mosinit.hoc. Now, the least-nested one in the model directory structure is preferred. Before, the list of paths was sorted and the first entry taken, so if there was a mosinit.hoc nested under a directory that sorts earlier (alphabetically) than "mosinit.hoc" then that one would be preferred. This fixes a few models where this change in behaviour caused errors.