Remove lane with non-alphanumeric character in name

I previously created a lane with a space in the name. Now I’d like to remove the lane but I’m getting an error:

$ cryosparcm cluster remove 'merlin5 v1.0'
merlin5 v1.0
Removing cluster merlin5 v1.0
Traceback (most recent call last):
  File "/data/user/bliven_s/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/data/user/bliven_s/cryosparc/cryosparc2_master/deps/anaconda/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/data/user/bliven_s/cryosparc/cryosparc2_master/cryosparc2_compute/client.py", line 83, in <module>
    print eval("cli."+command)
  File "<string>", line 1
    cli.remove_scheduler_target_cluster("merlin5
                                               ^
SyntaxError: EOL while scanning string literal

Do I need to escape the space somehow?

I managed it by calling the python API directly:

cryosparcm cli 'remove_scheduler_lane("merlin5 v1.0")'
1 Like