Attribute names in config file #515
-
Hello ! So my questions : is it possible to have a dict with keys? If not, what am I doing wrong for the visualisation to be different in the two cases shown below ? Thaaanks !!
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I agree it is difficult and I didn't get your problem! Let's do a video chat on pymodaq discord or on zoom. I let you contact me with options |
Beta Was this translation helpful? Give feedback.
-
I did some tests and from this toml
which behave as: list gives a combobox and dict gives a nested tree |
Beta Was this translation helpful? Give feedback.
-
@seb5g sorry I couldn't reply earlier ! So, it doesn't work and it's getting weirder and weirder. Is the config file copied somewhere else ? It seems that some parameters get updated but not overwritten when the parameters are changed in the TOML... here's my TOML file (I removed the dicts for the sake of lisibility, but they still show in the config.. :) [spectrometers] [spectrometers.oscillator] [spectrometers.amplifier] [spectrometers.compressor] [spectrometers.thing] |
Beta Was this translation helpful? Give feedback.
-
Please read this about config file: https://pymodaq.cnrs.fr/en/5.0.x_dev/user_folder/configuration.html |
Beta Was this translation helpful? Give feedback.
-
...That fixed everything ! I removed the old config file and a fresh one with all the right behaviours got written instead ! |
Beta Was this translation helpful? Give feedback.
...That fixed everything ! I removed the old config file and a fresh one with all the right behaviours got written instead !