hutch_python.qs_load.get_qs_objs

hutch_python.qs_load.get_qs_objs(expname)

Gather user objects from the experiment questionnaire.

Connects to the questionnaire webservice via the happi QSBackend using psdm_qs_cli to collect well-defined devices.

There are two possible methods of authentication to the QuestionnaireClient, Kerberos and WS-Auth. The first is simpler but is not possible for all users, we therefore search for a configuration file named web.cfg, either hidden in the current directory or the users home directory. This should contain the username and password needed to authenticate into the QuestionnaireClient. The format of this configuration file is the standard .ini structure and should define the username and password like:

[DEFAULT]
user = MY_USERNAME
pw = MY_PASSWORD
Parameters

expname (str) – The experiment’s name from the elog

Returns

objs – Mapping from questionnaire python name to loaded object.

Return type

dict