OpenFreeEnergy / OpenFreeEnergy/openfe
CLI does not properly return PDB parsing errors
Open
@atravitz is already working on this.
Since Jun 3, 2025.
cli
usability
- Dominant language
- Python
- Stars
- 332
- Forks
- 56
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 13
Description
If you load a bad PDB and ProteinComponent.from_pdb_file fails, the CLI will automatically catch the ValueError and try to load from PDBx instead. Since you are still attempting to read a PDB file, this both suppresses the error message from PDB reading and yields a very unspecific PDBx reading error. This is an issue for users since they can't debug why their systems aren't working.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.