Conversation
|
There are a few other test warnings I would like to fix. Within the momentum file (here and here), we are taking the square root of a negative number. This is throwing a warning and returning I can do this, but what is the |
The variable |
|
Great idea, Skylar! Adding an informative warning and manually setting the NaN values in both cases makes sense to me. |
lynna-deng
left a comment
There was a problem hiding this comment.
The pull request requirements look sensible to me -- thank you for creating the template, Skylar! Noted also that tests relying on errors are not good practice.
|
The PR requirements look good, thanks for adding these! I tested on a few different python versions. The package doesn't work for newer python versions so maybe we can add this to the pyproject.toml (python = ">=3.9,<3.12"). Summary of testing: |
|
I think in hindsight, I am going to move fixing the warnings to another PR, to be done at another time. It seems like their are complicating factors to fixing the However, I will add in the python version limiting. |
|
Additionally, I got it to run on Python 3.12 and 3.13, so I think any of those changes will also be made in a separate PR if we determine they're needed. This will just be the PR checklist @kirbyh @iupfal @lynna-deng |
Added another set PR template and again fixed the deprecated
trapzfunction name.