Closed tuopuu closed 7 years ago
@@ master #322 diff @@
==========================================
Files 118 119 +1
Lines 7390 7535 +145
Methods 0 0
Messages 0 0
Branches 875 918 +43
==========================================
+ Hits 5019 5168 +149
+ Misses 2333 2311 -22
- Partials 38 56 +18
Powered by Codecov. Last update 438f072...aacbaa7
Looks good to me. Please get rid of WIP tag whenever you are done.
Thanks @mehdisadeghi . CUDS.data serialisation is still missing and I'm working on it right now. I'm writing data serialisation based on the modified data attribute which would be consistent with other objects having it defined. We can merge this feature after the data attribute is fixed.
In fact, it's still an open question what should be stored in the CUDS.data DataContainer. Do we allow complicated CUDSComponents like Cfd() to be stored there, and what would be the use-case. Precisely, what's the distinction between a Cfd() object stored in CUDS.data and in CUDS._store?
I think we can merge this branch now and deal with the data attribute later, perhaps together with the incompletely tested saving of different CUDSComponents. I'm removing the WIP tag, so please, @mehdisadeghi go ahead and merge if you're happy with this branch.
This PR adds a feature to save and load CUDS models from Yaml files. This is a work-in-progress version, but the users are encouraged to try it and test how it fits to different use-cases.
functions: