-
Notifications
You must be signed in to change notification settings - Fork 384
test sli2py_iaf_psc_exp_ps #3091
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
base: master
Are you sure you want to change the base?
Conversation
Pull request automatically marked stale! |
Could you please provide a short description for this PR? Draft state is something that does not describe what you are working on. |
@janskaar Ping! |
Sorry, completely forgot about this. I finished and reopened, now ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@janskaar Overall, this looks fine, but I have a few suggestions: Since the first test in lossless is the same as in the plain case, I think it would be better to parameterize the first test with the model to avoid code duplication. You could then combine all tests into a single file. I think it would also be useful to put the code that calculates the reference solution into a separate function for clarity. Could you also check the merge conflicts which Github complains about? Since the SLI files are deleted in this PR, I hope just merging master into the branch will do the trick.
testsuite/pytests/sli2py_neurons/test_iaf_psc_exp_ps_lossless.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no>
@heplesser Good idea, I've updated the test and made it into a single file. Merge conflict should be solved now. |
I will make this a draft, and convert iaf_psc_exp_ps_lossless in the same PR.