These lines are copied several times in the scripts to get the experiment. Instead, it should be put into a function and called where needed
|
resp = requests.get(ws_url + "/lgbk/ws/activeexperiment_for_instrument_station", |
|
{"instrument_name": hutch, "station": station}) |
|
exp = resp.json().get("value", {}).get("name") |
Originally posted by @KaushikMalapati in #281 (comment)