pepkit / peppy

Project metadata manager for PEPs in Python
https://pep.databio.org/peppy
BSD 2-Clause "Simplified" License
37 stars 13 forks source link

to_dict() and from_dict() optimization! #402

Closed khoroshevskyi closed 2 years ago

khoroshevskyi commented 2 years ago

Right now from_dict returns all possible variables that were initialized in the class. Some of that values are mostly identical. In the pephub_db it can lead to the huge disc space is taken this variables. It will be a problem in the nearest future. e.g. download 1K projects from GEO. We need to optimize this functions ASAP.