| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hello @marinegor! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-10-25 11:17:29 UTC |
Sorry, something went wrong.
Linter Bot Results:Hi @marinegor! Thanks for making this PR. We linted your code and found the following: Some issues were found with the formatting of your code.
Please have a look at the darker-main-code and darker-test-code steps here for more details: https://github.com/MDAnalysis/mdanalysis/actions/runs/11148966346/job/30986736623 Please note: The black linter is purely informational, you can safely ignore these outcomes if there are no flake8 failures! |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good so far, will require a small test file to check reader/parser halves.
Sorry, something went wrong.
|
@IAlibay If we are are headed for a new release, would love to get this PR merged & part of if if you could take a final look. |
Sorry, something went wrong.
|
+1 on seeing this merged into the next release! |
Sorry, something went wrong.
|
@IAlibay your comment had been addressed and the gemmi reader is also tested in Windows on azure. Could you updated your review, please? Otherwise I'll dismiss it in a day in an effort to merge this important new feature. (I am not sure what the linter wants, I'll try to make it happy.) |
Sorry, something went wrong.
@orbeckst can you give me until Tuesday please? I agree it's an important feature and I do want to review it, however there's some other high priority items within MDAnalysis that needs addressing first. Either way, I'm not going to be releasing a be version of MDAnalysis until after the 17th - so it not being merged until then isn't an issue. |
Sorry, something went wrong.
|
Ok |
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry for the very brief review, mostly cleaning things to do.
Sorry, something went wrong.
Documentation build overview108 files changed · + 4 added · ± 104 modified + Added
± Modified
|
Sorry, something went wrong.
|
Atoms without altLocs in the MMCIF will have null bytes assigned to their altLoc attribute. When writing the structure out to PDB, it includes those null bytes, in violation of the PDB spec (not that this have stopped anyone before). Not fully sure of the consequences but figured I'd raise it before it's merged. Altered tail of 1BD2.cif to include non-null altLocs: HETATM 6376 O O . HOH I 6 . ? -10.858 27.299 2.616 1.00 63.18 ? 257 HOH E O 1 HETATM 6377 O O . HOH I 6 . ? -11.731 43.369 -12.769 1.00 34.61 ? 258 HOH E O 1 HETATM 6378 O O A HOH I 6 . ? 3.361 39.263 -10.471 1.00 56.34 ? 259 HOH E O 1 HETATM 6379 O O B HOH I 6 . ? 3.361 39.263 -10.471 1.00 56.34 ? 259 HOH E O 1 # Tail of reconstructed PDB (but \0 is actually a null byte) HETATM 6376 O \0HOH E 257 -10.858 27.299 2.616 1.00 63.18 E O HETATM 6377 O \0HOH E 258 -11.731 43.369 -12.769 1.00 34.61 E O HETATM 6378 O AHOH E 259 3.361 39.263 -10.471 1.00 56.34 E O HETATM 6379 O BHOH E 259 3.361 39.263 -10.471 1.00 56.34 E O ENDMDL END You can recreate this with the following: https://gist.github.com/ianmkenney/624300e0395bcf2c918c2fa8b92fd86e Just clone MDA and check out the PR head next to the Makefile and run make test. |
Sorry, something went wrong.
|
Everything should now be addressed - but I can't figure out why codecov is reporting such low test coverage because it's got 100% coverage when I run it locally. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2367 and also extends #4303 and solves #5089
Changes made in this Pull Request:
As a bonus, this implementation would potentially allow to read any of the gemmi-supported formats (source):
Also, this (with slight modifications) also would allow reading mmcif with multiple models sharing the same topology, as well as more feature-rich parsing of PDBs (the same code without changes can be used for parsing altlocs, charges, etc, from all of these formats).
However, I'm slightly lost on what's to be done next for this PR to be merged, so I'm asking if someone could help me navigate here (tagging @richardjgowers here as author of original PDBx implementation 4303).
PR Checklist
Developers certificate of origin
📚 Documentation preview 📚: https://mdanalysis--4712.org.readthedocs.build/en/4712/