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

Group names missing from hash used for comparing models #495

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

neworderofjamie
Copy link
Contributor

This means if you rename a population, the hash doesn't change and the code won't rebuild (unless you force it with genn-buildmodel -f or equivalent). This PR solves this and adds unit tests to cover this.

@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

Merging #495 (57f6f9c) into master (037af10) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #495   +/-   ##
=======================================
  Coverage   86.94%   86.94%           
=======================================
  Files          84       84           
  Lines       17972    17977    +5     
=======================================
+ Hits        15625    15630    +5     
  Misses       2347     2347           
Impacted Files Coverage Δ
src/genn/genn/code_generator/modelSpecMerged.cc 95.52% <100.00%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 037af10...57f6f9c. Read the comment docs.

Copy link
Member

@tnowotny tnowotny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@neworderofjamie neworderofjamie merged commit ad8179d into master Jan 25, 2022
@neworderofjamie neworderofjamie deleted the add_names_to_hash branch January 25, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants