samirelanduk / atomium

Python macromolecular parsing (with .pdb/.cif/.mmtf parsing and production)
https://atomium.bio
MIT License
102 stars 19 forks source link

Add option for offline mirror of PDB #24

Open samirelanduk opened 4 years ago

samirelanduk commented 4 years ago

Using an environment variable, user should be able to specify a directory that atomium will look in first before fetching a file over the internet.

juvilius commented 4 years ago

26 Given a compressed file, atomium should uncompress automatically. The compression in use by an offline mirror seems to default to gzip, which Python provides with the gzip module.