Skip to content
Snippets Groups Projects

plot SOH channels in user's order

Merged Lan Dam requested to merge i110_channel_order into master
1 unresolved thread

closes #110 (closed)

  • Plot channels in order set in Channel Preferences.
  • Move check not found channels here
Edited by Lan Dam

Merge request reports

Pipeline #2779 passed

Pipeline passed for a1683f45 on i110_channel_order

Merged by Lan DamLan Dam 1 year ago (Aug 23, 2023 7:28pm UTC)

Loading

Pipeline #2780 passed

Pipeline passed for d7dd754d on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
351 channels found in actual channels.
352
353 :param chan_order: The list of channel that have channels end with '?'
354 :param actual_chans: The actual channel list
355 :return: chan_order that have channels end with '?' replaced by actual
356 channels.
357 """
358 quest_chans = [c for c in chan_order if c.endswith('?')]
359 for qc in quest_chans:
360 actual_quest_chans = [c for c in list(actual_chans)
361 if qc[:-1] == c[:-1]]
362 if actual_quest_chans:
363 quest_idx = chan_order.index(qc)
364 chan_order.remove(qc)
365 chan_order[quest_idx:quest_idx] = sorted(actual_quest_chans)
366 return chan_order
  • Lan Dam changed title from plot SOH channels in user's order to WIP: plot SOH channels in user's order

    changed title from plot SOH channels in user's order to WIP: plot SOH channels in user's order

  • Lan Dam added 22 commits

    added 22 commits

    • c46745af...886cdda3 - 20 commits from branch master
    • fedfaf0c - Merge branch 'master' into i110_channel_order
    • 81a0d778 - multi_threaded_plotting_widget.py: fix some wrong in resolving conflict when...

    Compare with previous version

  • Lan Dam mentioned in merge request !138 (merged)

    mentioned in merge request !138 (merged)

  • Lan Dam added 1 commit

    added 1 commit

    • b2f009bc - change variable name to be more descriptive

    Compare with previous version

  • Lan Dam added 5 commits

    added 5 commits

    Compare with previous version

  • Lan Dam added 1 commit

    added 1 commit

    • 5032aebd - add changes to DB to not plot GPS channel and fix height of External SOH channels

    Compare with previous version

  • Lan Dam added 1 commit

    added 1 commit

    • 4607f920 - flake8, fix bug calling display_tracking_info with 'info' for LogType.INFO

    Compare with previous version

  • Lan Dam added 1 commit

    added 1 commit

    • f2e2a8f6 - change quest in variable and function names to question

    Compare with previous version

  • Lan Dam added 2 commits

    added 2 commits

    • 8caa2dfc - Revert "add changes to DB to not plot GPS channel and fix height of External SOH channels"
    • f7a37904 - revert changes involve in GPS

    Compare with previous version

  • Lan Dam changed title from WIP: plot SOH channels in user's order to plot SOH channels in user's order

    changed title from WIP: plot SOH channels in user's order to plot SOH channels in user's order

  • Lan Dam added 4 commits

    added 4 commits

    Compare with previous version

  • Lan Dam removed review request for @kienle

    removed review request for @kienle

  • Lan Dam changed the description

    changed the description

  • Lan Dam added 7 commits

    added 7 commits

    Compare with previous version

  • Lan Dam added 2 commits

    added 2 commits

    • fcc3b608 - modify docstring
    • 3d236dda - convert dic_keys to list to reduce code warning

    Compare with previous version

  • Lan Dam requested review from @kienle

    requested review from @kienle

  • Kien Le approved this merge request

    approved this merge request

  • Lan Dam added 3 commits

    added 3 commits

    Compare with previous version

  • merged

  • Lan Dam mentioned in commit d7dd754d

    mentioned in commit d7dd754d

  • Please register or sign in to reply
    Loading