Replies: 7 comments 26 replies
-
Actually that is a good question, @wjcunningham7 any thoughts ? |
Beta Was this translation helpful? Give feedback.
-
Further enhancements for V10 of the Database schema:
|
Beta Was this translation helpful? Give feedback.
-
Proposal to maintain both old & new DB for a period of overlap Would request to implement the new DB schema in a way that the old DB still remains & is maintained the same way as it would be earlier. This will enable Team Psi to smoothly transition from the old DB to the new DB. Once we are done with moving, we can do away with maintaining the old DB and can even remove it. Cc @FyzHsn |
Beta Was this translation helpful? Give feedback.
-
Hi @FyzHsn @cjao - Quick question. A few weeks back there was a mention that some of the attributes of an electron will be dynamic and not pre-set. Possible implemetations was to store a JSON in the While this might not directly impact the Web app, wanted to clarify from a knowledge stand point. Can you help with what the final solution was? |
Beta Was this translation helpful? Give feedback.
-
Proposal to add a deleted flag to the database
Cc @FyzHsn |
Beta Was this translation helpful? Give feedback.
-
Consolidation of all fixes & schema enhancement requests from Team Psi - Observed on v9 DB implementation |
Beta Was this translation helpful? Give feedback.
-
@mshkanth Due to some recent changes in covalent, some of the data stored in the filenames are TransportableObjects. In order to get a string representation of these, once these objects are unpickled, you need to do Lattice.function_filename, Lattice.inputs_filename (this needs to be unpickled, and then the args and kwargs fields needs to be unpacked), Electron.value_filename, Electron.function_filename, Electron.results_filename. Let me know where further clarifications are required. @cjao Let me know if I've missed anything. |
Beta Was this translation helpful? Give feedback.
-
Current Database Schema (V9)
Currently, the
key
attribute in theelectrons
table is listed as an integer. However, in the workflow defined below,key
in the node metadata (shown below) is stored as a string.Corresponding node metadata is:
On the other hand, the following workflow, would store an integer value in the
key
field.Question: Since, this field can be an integer or a string should we store
key
as a pickled file and changekey
in favor ofkey_filename
in the electrons table?Beta Was this translation helpful? Give feedback.
All reactions