Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

olupton
Copy link
Collaborator

@olupton olupton commented Jun 5, 2023

#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.

Now when a model contains multiple mosinit.hoc, the least-nested one is
preferred. Before, the list of mosinit.hoc was sorted and the first one
was used.
@olupton olupton marked this pull request as ready for review June 5, 2023 07:20
@olupton olupton merged commit c4c6750 into master Jun 5, 2023
@olupton olupton deleted the olupton/models-now-using-different-mosinit-files branch June 5, 2023 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants