InformaticsGenomicMedicine / DraftCoreDataModel

Draft of CoreDataModel
Apache License 2.0
0 stars 0 forks source link

Add **kwargs support #1

Closed rrfreimuth closed 1 year ago

rrfreimuth commented 1 year ago

https://github.com/InformaticsGenomicMedicine/DraftCoreDataModel/blob/79450932a44ee677816f9c02e6f5660ea03e5ec1/src/core_variant.py#L7C1-L9C94

Please add **kwargs to the end of the input params so if a user passes an attribute not listed it is still captured. This can also be used as an easy way to save a copy of all of the input params at once.

SalemBajjali commented 1 year ago

Added **kwargs:

https://github.com/InformaticsGenomicMedicine/DraftCoreDataModel/blob/66f815799c6c614970c4caed71740a6bd41ce2e6/src/core_variant.py#L7-L41

SalemBajjali commented 1 year ago

Reviewed with @rrfreimuth. renamed extra with kwargs