mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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):
|
||||
module = file_import(file)
|
||||
for class_name, exp_class in module.__dict__.items():
|
||||
if class_name[0] == "_":
|
||||
continue
|
||||
if is_experiment(exp_class):
|
||||
if exp_class.__doc__ is None:
|
||||
name = class_name
|
||||
|
Loading…
Reference in New Issue
Block a user