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
Bliss
bliss
Commits
56846164
Commit
56846164
authored
Apr 26, 2021
by
Valentin Valls
Browse files
Fix master channels (as it was computed before)
parent
9a936a0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bliss/flint/helper/scan_info_helper.py
View file @
56846164
...
...
@@ -86,6 +86,7 @@ def _get_channels(
"""
names
=
[]
master_count
=
0
for
top_master
,
meta
in
scan_info
[
"acquisition_chain"
].
items
():
if
top_master_name
is
not
None
:
if
top_master
!=
top_master_name
:
...
...
@@ -98,7 +99,10 @@ def _get_channels(
continue
if
master
is
not
None
:
is_master
=
"triggered_devices"
in
device_info
is_triggering
=
"triggered_devices"
in
device_info
if
is_triggering
:
master_count
+=
1
is_master
=
is_triggering
and
master_count
==
1
if
master
^
is_master
:
# If the filter mismatch
continue
...
...
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