mirror of https://github.com/m-labs/artiq.git
worker_impy: ignore newline at start of experiment docstring
This commit is contained in:
parent
f0e87d2e59
commit
e50a6d5aaf
|
@ -170,7 +170,7 @@ def examine(device_mgr, dataset_mgr, file):
|
||||||
if exp_class.__doc__ is None:
|
if exp_class.__doc__ is None:
|
||||||
name = class_name
|
name = class_name
|
||||||
else:
|
else:
|
||||||
name = exp_class.__doc__.splitlines()[0].strip()
|
name = exp_class.__doc__.strip().splitlines()[0].strip()
|
||||||
if name[-1] == ".":
|
if name[-1] == ".":
|
||||||
name = name[:-1]
|
name = name[:-1]
|
||||||
argument_mgr = TraceArgumentManager()
|
argument_mgr = TraceArgumentManager()
|
||||||
|
|
Loading…
Reference in New Issue