pepkit / peppy

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

Change `from_dict()` and `from_pandas()` from instance method to class method. #443

Closed khoroshevskyi closed 7 months ago

khoroshevskyi commented 1 year ago

Referring to the comment: https://github.com/pepkit/pephubclient/pull/15#discussion_r1157141910

We should rethink how we initializing peppy Project from dict and from peppy. Now we are creating empty project, and then re-initiating class variables in two methods: from_dict(), from_pandas().