Refactoring of the datamodel module
This got a little out of hand with transformations spread through out the code.
- There should be a clear definition of upload and calc with their respective attributes.
- Instead of registering mappings, the necessary transformations should be implemented as simple member functions of the respective entity representations, e.g. within coe_repo.Calc, processing.Calc, etc.
- common transformation function names should be
to_calc_with_metadata
,update_from_calc_with_metadata
,add_calc_with_metadata
, etc.