Skip to content
Snippets Groups Projects
Commit b2f009bc authored by Lan Dam's avatar Lan Dam
Browse files

change variable name to be more descriptive

parent 81a0d778
No related branches found
No related tags found
1 merge request!128plot SOH channels in user's order
Pipeline #2734 failed with stage
in 3 minutes and 1 second
...@@ -358,8 +358,8 @@ def replace_actual_quest_chans( ...@@ -358,8 +358,8 @@ def replace_actual_quest_chans(
:return: chan_order that have channels end with '?' replaced by actual :return: chan_order that have channels end with '?' replaced by actual
channels. channels.
""" """
quest_chans = [c for c in chan_order if c.endswith('?')] question_chans = [c for c in chan_order if c.endswith('?')]
for qc in quest_chans: for qc in question_chans:
actual_quest_chans = [c for c in list(actual_chans) actual_quest_chans = [c for c in list(actual_chans)
if qc[:-1] == c[:-1]] if qc[:-1] == c[:-1]]
if actual_quest_chans: if actual_quest_chans:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment