autolab-project / autolab

Python package for laboratory instruments control and scientific experiments automation

Home Page:https://autolab.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[issue] set_local_config and get_local_config force parameter names in lowercase

pyMatJ opened this issue · comments

When saving a local configuration using the autolab.set_local_config() function, the arguments are written to the local_config.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.

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.