Closed bddap closed 2 years ago
Thanks for raising the issue. I see that I missed the number 400
as a valid remark type number somehow. In the process I made the error message better in the future errors like this will look different and are printed with all other errors:
StrictWarning: Remark type number invalid
╷
446 │ REMARK 400 MOLECULE 2 HAS SEGID 2201, VP7Q MOLECULE 3 HAS SEGID 2301,
· ───
╵
The remark-type-number is not valid, see wwPDB v3.30 for all valid numbers.
I also verified that there are no other issues with parsing this file. So you will be able to use this file for your work.
Awesome! The change both removes the panic and fixes parsing of that specific file. Thanks for getting to this so quickly.
While parsing the pdb file from https://www.rcsb.org/structure/2BTV
To reproduce: