Hi cryoSPARC-DevTeam,
EDIT: Nevermind, I am just stupid. In the link attached, I just had to scroll down in the codeblock to see the correct commit -.- Sorry for the inconvinence.
i want to rename/relabel our scheduler lanes, and I stumbled over this thread:
I think, similarly one can update the name by:
lanes[0][‘name’] = ‘newname’
But I cannot commit this change:
cli.set_config_var()
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-12-9f876e2d250e> in <module>
----> 1 cli.set_config_var()
~/cryosparc/cryosparc_master/cryosparc_compute/client.py in func(*args, **kwargs)
63 else: raise
64 assert res, f"Did not receive a JSON response from method \"{key}\" with params {params}"
---> 65 assert 'error' not in res, f"Encountered error for method \"{key}\" with params {params}:\n{res['error']['message'] if 'message' in res['error'] else res['error']}"
66 return res['result']
67 return func
AssertionError: Encountered error for method "set_config_var" with params ():
ServerError: Traceback (most recent call last):
File "/home/cryosparc_user/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 150, in wrapper
res = func(*args, **kwargs)
TypeError: set_config_var() missing 2 required positional arguments: 'name' and 'value'
I guess, there needs to be some specification of what to update.
Thx
Christian