Repository navigation
Extract PDB ID in Bio/PDB/parse_pdb_header.py - #1933
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1933 +/- ##
==========================================
- Coverage 85.02% 83.69% -1.33%
==========================================
Files 310 309 -1
Lines 49957 49910 -47
==========================================
- Hits 42476 41774 -702
- Misses 7481 8136 +655
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1933 +/- ##
==========================================
+ Coverage 85.02% 85.02% +<.01%
==========================================
Files 310 310
Lines 49957 49960 +3
==========================================
+ Hits 42476 42479 +3
Misses 7481 7481
Continue to review full report at Codecov.
|
|
The code seems clear, although I've not looked at the PDB header line format to see if a regular expression is the best approach here or not. @lennax @etal @jgreener64 etc any comment? If not, I'll merge this at the end of the week. Rob: Do you want to add yourself to the CONTRIB and NEWS files? Note we'd want to do a squash-and-merge to clean up the git history. |
lennax
left a comment
There was a problem hiding this comment.
Is there a unittest for parse_pdb_header that can be updated to confirm that the expected, 4-character PDB ID is extracted from the header?
|
Thank you all. |
Original author Kristian Rother and contributors since as recorded in version control have agreed: - Bernhard C. Thiel (@Bernhard10) biopython#968 - Brian Osborne (@bosborne) biopython#898 (comment) - Carlos Pena (@carlosp420) biopython#898 (comment) - Carlos Rios Vera (@crosvera) biopython#898 (comment) - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Connor McCoy (@cmccoy) biopython#898 (comment) - Eric Talevich (@etal) biopython#898 (comment) - Francesco Gastaldello (@Gasta88) biopython#1063 - Jeremy LaBarge (@biojerm) biopython#1847 (comment) - Joe Greener (@jgreener64) biopython#1393 - Kristian Rother (@krother) biopython#898 (comment) - Lenna Peterson (@lennax) biopython#898 (comment) - Michiel de Hoon (@mdehoon) biopython#898 (comment) - Michael Moritz (@mikepm35) biopython#2081 - @morrme biopython#1172 (comment) - Nick Negretti (@nimne) biopython#1768 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Rob Miller (@rob-miller) biopython#1933 - Sergei Lebedev (@superbobry) biopython#898 (comment) - Suresh Panneerselvam (@Amrithasuresh) biopython#1575 - Thomas Hamelryck (CVS username nisse) https://mailman.open-bio.org/pipermail/biopython/2018-September/016546.html - Wayne Decatur (@fomightez) biopython#898 (comment)
Original author Kristian Rother and contributors since as recorded in version control have agreed: - Bernhard C. Thiel (@Bernhard10) #968 - Brian Osborne (@bosborne) #898 (comment) - Carlos Pena (@carlosp420) #898 (comment) - Carlos Rios Vera (@crosvera) #898 (comment) - Christian Brueffer (@cbrueffer) #898 (comment) - Connor McCoy (@cmccoy) #898 (comment) - Eric Talevich (@etal) #898 (comment) - Francesco Gastaldello (@Gasta88) #1063 - Jeremy LaBarge (@biojerm) #1847 (comment) - Joe Greener (@jgreener64) #1393 - Kristian Rother (@krother) #898 (comment) - Lenna Peterson (@lennax) #898 (comment) - Michiel de Hoon (@mdehoon) #898 (comment) - Michael Moritz (@mikepm35) #2081 - @morrme #1172 (comment) - Nick Negretti (@nimne) #1768 (comment) - Peter Cock (@peterjc) #898 (comment) - Rob Miller (@rob-miller) #1933 - Sergei Lebedev (@superbobry) #898 (comment) - Suresh Panneerselvam (@Amrithasuresh) #1575 - Thomas Hamelryck (CVS username nisse) https://mailman.open-bio.org/pipermail/biopython/2018-September/016546.html - Wayne Decatur (@fomightez) #898 (comment)
This pull request addresses issue #1921
Add the idCode (a.k.a. PDBid) to the header dictionary when loaded by PDBParser()
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)