openmm / pdbfixer

PDBFixer fixes problems in PDB files
Other
453 stars 114 forks source link

Fix reading PDBx from filename #221

Closed dww100 closed 3 years ago

dww100 commented 3 years ago

Lines from the file where being passed to the reader rather than the file object - simple change from self._initializeFromPDBx(file.read()) to self._initializeFromPDBx(file) fixes #202.

peastman commented 3 years ago

Looks good, thanks!