You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not just TOML. We also need to get this into the MDF's. There are different possibilities. The common would be to make this "first class" and add various fields in the MDF itself, i.e. store all sequence values as HDF5 values.. This will make the MDF pretty dynamic. The alternative is to store the TOML's as strings in the MDF. That is very flexible but I cannot see all the consequences.
What also needs to be taken into account that Sequences/Protocols/Scanners may change over time and that the stored versions (in an MDF) may be different from the ones installed at the scanner. This is not necessary a problem but we certainly want to have a way of checking for equality of sequences, so that we at least know if the sequence is currently installed in the scanner.
And then each struct defines the toDict! and toDictValue depending if they need special treatment. At the moment I created the dicts in the same way that they are being parsed during sequenceFromToml and can go back and forth from Sequence struct to Toml. The branch also works for the more simpler protocols already.
For equality I generated "==" functions for the types we defined, that essentially just compares all fields of a struct with "==" atm (
No description provided.
The text was updated successfully, but these errors were encountered: