Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
SOHViewer
Commits
d9056c22
Commit
d9056c22
authored
1 year ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug not plotting mass position on main window when preference list is selected
parent
fe26d28f
No related branches found
Branches containing commit
No related tags found
1 merge request
!153
Fix bug not plotting mass position on main window when preference list is selected
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
+5
-5
5 additions, 5 deletions
...lotting/plotting_widget/multi_threaded_plotting_widget.py
with
5 additions
and
5 deletions
sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
+
5
−
5
View file @
d9056c22
...
...
@@ -110,7 +110,7 @@ class MultiThreadedPlottingWidget(PlottingWidget):
def
create_plotting_channel_processors
(
self
,
plotting_data
:
Dict
,
need_db_info
:
bool
=
False
,
need_move_channel
:
bool
=
False
is_plotting_data1
:
bool
=
False
)
->
None
:
"""
Create a data processor for each channel data in the order of
...
...
@@ -119,10 +119,10 @@ class MultiThreadedPlottingWidget(PlottingWidget):
:param plotting_data: dict of data by chan_id
:param need_db_info: flag to get db info
:param
need_move_channel: flag to call
move_soh_channels_with_link_to_the_end()
:param
is_plotting_data1: flag to tell if the plotting_data sent is
plotting_data1
"""
chan_order
=
self
.
pref_order
if
self
.
pref_order
\
chan_order
=
self
.
pref_order
if
is_plotting_data1
and
self
.
pref_order
\
else
sorted
(
list
(
plotting_data
.
keys
()))
chan_order
=
replace_actual_question_chans
(
chan_order
,
list
(
plotting_data
.
keys
()))
...
...
@@ -155,7 +155,7 @@ class MultiThreadedPlottingWidget(PlottingWidget):
f
"
{
'
,
'
.
join
(
not_plot_chans
)
}
"
)
self
.
processing_log
.
append
((
msg
,
LogType
.
WARNING
))
if
need_move_channel
:
if
is_plotting_data1
:
self
.
move_soh_channels_with_link_to_the_end
(
chan_order
)
for
chan_id
in
chan_order
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment