-
Notifications
You must be signed in to change notification settings - Fork 11
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
Pydantic validation settings #329
Conversation
No problem at all, I'll get to it after lunch, the tests/examples were basically the next thing in line, I think I should be able to finish the bulk of it today |
bc837c6
to
0a75c38
Compare
Hey @toni-neurosc, thanks so much for those changes. I saw you now already added some burst addition in this PR. Sorry for messing with that. I now did a merge that resulted with conflicts, but I wanted to push my additions in There are some points I want to add. I looked at all the points that you marked with "TONI". There is one test currently failing: Regarding your comment about zero divisions, there is actually a test that checks for all values being zero or NaN in There was also a bug (I think) in Apart from that, the changes are great. I would also start adapting the docstrings now that they match the params for each function. |
Hey @toni-neurosc, I am getting an error with your optimized sharpwave module import:
Could that be again an OS-specific thing? |
Well no, what happened is that Numpy 2.0.0 release just 4 hours ago and that's what pip installed on the test server xD Weird coincidence. Probably we wouldn't even have noticed if I hadn't decided to use a numpy internal function to squeeze some performance lol. I'm gonna update Numpy on my local and fix it. EDIT: found the relevant change, this caused the error: https://numpy.org/devdocs/numpy_2_0_migration_guide.html#numpy-core-namespace |
Ok, @timonmerk , I fixed the Numpy issue, it was nothing, they just changed the name of the internal module files with the version change, no big deal, basically added a couple of underscore and it's working again. Also a couple more changes:
|
Ok, I will try to rework the example and maybe implement some functions to expose the result of |
@toni-neurosc, I've fixed now the sharpwave example. It was much simpler than expected. I also fixed the So feel free to add the method adding a feature in a better way after |
@toni-neurosc Sorry for opening this PR so soon, but I had a look at this branch and for the most part I can understand it.
Would it be possible to adapt one example from the examples folder s.t. I could follow along and also help adapt the other examples / tests?