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
c0f03b9a
Commit
c0f03b9a
authored
10 months ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
prevent EH, ET giving duplicated info
parent
e9098d5b
No related branches found
No related tags found
1 merge request
!301
prevent EH, ET giving duplicated info
Pipeline
#3891
passed with stage
Stage: Build Env and Test
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/model/reftek_data/reftek.py
+7
-2
7 additions, 2 deletions
sohstationviewer/model/reftek_data/reftek.py
with
7 additions
and
2 deletions
sohstationviewer/model/reftek_data/reftek.py
+
7
−
2
View file @
c0f03b9a
...
...
@@ -404,13 +404,18 @@ class RT130(GeneralData):
for
ind
in
range
(
0
,
len
(
rt130
.
_data
))
if
ind
not
in
ind_ehet
])
log_data
=
[]
for
index
in
ind_ehet
:
d
=
rt130
.
_data
[
index
]
logs
=
core
.
EHPacket
(
d
).
eh_et_info
(
nbr_dt_samples
)
if
'
EHET
'
not
in
self
.
log_data
[
cur_data_set_id
]:
self
.
log_data
[
cur_data_set_id
][
'
EHET
'
]
=
[]
self
.
log_data
[
cur_data_set_id
][
'
EHET
'
].
append
(
(
d
[
'
time
'
],
logs
))
item
=
(
d
[
'
time
'
],
logs
)
if
item
not
in
log_data
:
# Prevent duplicated item in a file caused by EH and ET having
# the same info
log_data
.
append
(
item
)
self
.
log_data
[
cur_data_set_id
][
'
EHET
'
]
+=
log_data
def
get_mass_pos_data_and_waveform_data
(
self
,
rt130
:
DecimatedReftek130
,
data_stream
:
int
,
...
...
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