autolab-project / autolab

Python package for laboratory instruments control and scientific experiments automation
https://autolab.readthedocs.io/
GNU General Public License v3.0
32 stars 7 forks source link

[issue] set_local_config and get_local_config force parameter names in lowercase #5

Closed pyMatJ closed 9 months ago

pyMatJ commented 3 years ago

When saving a local configuration using the autolab.set_local_config() function, the arguments are written to the localconfig.ini file in lowercase regardless of the one in the Driver class. Same, if the local_config.ini file is set up by hand with the proper case, loading through the GUI passes these parameters in lowercase (and thus the init call fails).

So far the only workaround is to leave all arguments in the Driver_ class in lowercase.

Python-simulation commented 1 year ago

Hi! I fixed this issue in commit d39bb45. Note that the function set_local_config was removed in the most recent version, only setting up the config by hand is possible now.