From abaa4cf0affb255aa35e6935f0a64b5826c554ff Mon Sep 17 00:00:00 2001 From: jlashner Date: Fri, 29 Sep 2023 11:18:36 -0300 Subject: [PATCH 1/2] Adds default to input_configfile param --- socs/agents/lakeshore372/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socs/agents/lakeshore372/agent.py b/socs/agents/lakeshore372/agent.py index b83ec080c..03fcfe9ba 100644 --- a/socs/agents/lakeshore372/agent.py +++ b/socs/agents/lakeshore372/agent.py @@ -1305,7 +1305,7 @@ def get_still_output(self, session, params=None): return True, "Current still output is {}".format(still_output) - @ocs_agent.param('configfile', type=str) + @ocs_agent.param('configfile', type=str, default=None) def input_configfile(self, session, params=None): """input_configfile(configfile) From d3d1bef648117fda108caadc32e9e91bde072974 Mon Sep 17 00:00:00 2001 From: Brian Koopman Date: Fri, 15 Nov 2024 14:56:44 -0500 Subject: [PATCH 2/2] Add default value to method signature override --- socs/agents/lakeshore372/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socs/agents/lakeshore372/agent.py b/socs/agents/lakeshore372/agent.py index 4c46c7145..001ec3552 100644 --- a/socs/agents/lakeshore372/agent.py +++ b/socs/agents/lakeshore372/agent.py @@ -1260,7 +1260,7 @@ def get_still_output(self, session, params=None): @ocs_agent.param('configfile', type=str, default=None) def input_configfile(self, session, params=None): - """input_configfile(configfile) + """input_configfile(configfile=None) **Task** - Upload 372 configuration file to initialize channel/device settings.