Skip to content

CONECT records cannot be parsed for systems with >100k atoms #702

@hannahbaumann

Description

@hannahbaumann

Tools like maestro switch to hexadecimal outputs after 100k atoms, e.g. A000G.
CONECT records in this format raise an error in the PDBStructure loader.
This PR #663 adds a try/except to skip CONECT records if they cannot be parsed, however it would be better to keep all CONECT records.

This is how mdtraj re-wrote pdbstructure.py to parse the hybrid36 convention:
https://github.com/mdtraj/mdtraj/pull/1849/changes

MDAnalysis issue discussing this: MDAnalysis/mdanalysis#5089

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions