Commit d4698807 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

respect blacklist

parent 8ebefc23
......@@ -253,10 +253,13 @@ def snuffle(config):
s.setup()
win.pile_viewer.viewer.add_snuffling(s, reloaded=True)
win.pile_viewer.viewer.add_blacklist_pattern('*.SMAX.i.*')
for bl in _lassie_config.blacklist:
win.pile_viewer.viewer.add_blacklist_pattern('%s.*' % bl)
s.detections = detections_to_event_markers(
_lassie_config.detections_path)
s.add_markers(s.detections)
if os.path.exists(_lassie_config.detections_path):
s.detections = detections_to_event_markers(
_lassie_config.detections_path)
s.add_markers(s.detections)
receivers = config.get_receivers()
stations = set()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment