douweschulte / pdbtbx

A library to open/edit/save (crystallographic) Protein Data Bank (PDB) and mmCIF files in Rust.
https://crates.io/crates/pdbtbx
MIT License
49 stars 12 forks source link

Refactor long functions #128

Open OWissett opened 3 months ago

OWissett commented 3 months ago

We have a few functions which are extremely long and deeply nested, I want to refactor these to be a bit more manageable.

Example offenders, open_pdb_raw (I know that this function is changing with #126) being 450 lines long!