Ruibin-Liu / MolDF

Super lightweight and fast mmCIF/PDB/MOL2 file parser into Pandas DataFrames and backwards writer.
https://moldf.readthedocs.io/en/latest/
MIT License
7 stars 2 forks source link

Compressed files such as `.gz` should be supported #33

Open kamurani opened 1 month ago

kamurani commented 1 month ago

Oftentimes, PDB files are downloaded in .pdb.gz format. When a filepath is specified to read_pdb, a zipped file should be read correctly and automatically detected using the file extension.

Ruibin-Liu commented 1 month ago

Very good point. It was not supported because my past projects didn't have to deal with such downloaded PDB files.