From 86fef7b53b3b198a50f0dc8ae0f10e5c2c4fb52e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 29 Jul 2015 23:29:07 +0800 Subject: [PATCH] master: do not scan experiments starting with '_' --- artiq/master/worker_impl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/master/worker_impl.py b/artiq/master/worker_impl.py index 77ff1349c..c0e10fe45 100644 --- a/artiq/master/worker_impl.py +++ b/artiq/master/worker_impl.py @@ -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