-
Notifications
You must be signed in to change notification settings - Fork 3
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
Separate for test data generation for compatibility with Biotite >= 1.0 and Numpy >= 2.0; Ruff formatting #16
Conversation
…sv.gz required for test; updated pyproject.toml -> consistency with biotite
…or; removed unused .csv files; reworked R script for biophysconnector
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.
Thanks for keeping the package up to date with Biotite. I only would recommend a few changes regarding ruff formatting:
- There is a newer version of
ruff
available, or is there a specific reason to use an older version? In Biotite I would also update the ruff version soon. - You can also configure ruff as optional dependency in
pyproject.toml
along with configuration of its rules. Can can adapt the rules from Biotite if you like. - To ensure that correct formatting is also used in subsequent PRs, I think a CI job would be reasonable. Again you could adapt the corresponding job from Biotite for it
…; final Ruff checks and fixes in scripts; added Ruff CI job
Sure, should be fine now. |
Last changes for this PR: |
Yes, I agree, the current pyproject.toml allows also 0.x Biotite versions,
if I am not mistaken.
JHKru ***@***.***> schrieb am Mi., 25. Sept. 2024, 12:01:
… Last changes for this PR:
Regarding the dev vs. regular Poetry dependencies ->
We should remain compatible with biotite < 1.0 and numpy >= 1.25, if I'm
not mistaken.
—
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGWAS6ISIFXX2U6RKUZPSXTZYKJXTAVCNFSM6AAAAABOW3KVVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTG43DCNZUGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Compressed .csv files for tests are now stored separately in test/data, together with the corresponding Python/R
scripts.
This is necessary because ProDy does not support newer Numpy/Scipy versions yet (from #15).
For ProDy/rpy2/bio3d, a separate conda env can be installed from test_create_data_env.yml to rerun these scripts locally.
Additional tests for a multimeric protein were added.$\approx$ 41 MB.
The randomly generated coordinates in
test_interaction.py
had to be limited to a total number of twelve.In total, the test folder takes up
Ruff was added for formatting.