mirror of https://github.com/m-labs/artiq.git
master: do not scan experiments starting with '_'
This commit is contained in:
parent
a8c13cb7de
commit
86fef7b53b
|
@ -138,6 +138,8 @@ class DummyPDB:
|
||||||
def examine(dmgr, pdb, rdb, file):
|
def examine(dmgr, pdb, rdb, file):
|
||||||
module = file_import(file)
|
module = file_import(file)
|
||||||
for class_name, exp_class in module.__dict__.items():
|
for class_name, exp_class in module.__dict__.items():
|
||||||
|
if class_name[0] == "_":
|
||||||
|
continue
|
||||||
if is_experiment(exp_class):
|
if is_experiment(exp_class):
|
||||||
if exp_class.__doc__ is None:
|
if exp_class.__doc__ is None:
|
||||||
name = class_name
|
name = class_name
|
||||||
|
|
Loading…
Reference in New Issue