Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Heimann
lassie
Commits
d4698807
Commit
d4698807
authored
Jun 13, 2017
by
Marius Kriegerowski
Browse files
respect blacklist
parent
8ebefc23
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/snuffling.py
View file @
d4698807
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment