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
7e7199a7
Commit
7e7199a7
authored
1 year ago
by
Kien Le
Browse files
Options
Downloads
Patches
Plain Diff
Fix data type cannot be detected
parent
488b7db0
No related branches found
No related tags found
1 merge request
!191
Read log files generated by users
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/view/main_window.py
+2
-1
2 additions, 1 deletion
sohstationviewer/view/main_window.py
with
2 additions
and
1 deletion
sohstationviewer/view/main_window.py
+
2
−
1
View file @
7e7199a7
...
@@ -500,6 +500,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
...
@@ -500,6 +500,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
for
item
in
self
.
open_files_list
.
selectedItems
():
for
item
in
self
.
open_files_list
.
selectedItems
():
self
.
rt130_log_files
.
append
(
Path
(
item
.
file_path
))
self
.
rt130_log_files
.
append
(
Path
(
item
.
file_path
))
self
.
data_type
=
'
RT130
'
self
.
data_type
=
'
RT130
'
self
.
is_multiplex
=
False
elif
self
.
rt130_das_dict
!=
{}:
elif
self
.
rt130_das_dict
!=
{}:
# create selected_rt130_paths from the selected rt130 das names
# create selected_rt130_paths from the selected rt130 das names
for
item
in
self
.
open_files_list
.
selectedItems
():
for
item
in
self
.
open_files_list
.
selectedItems
():
...
@@ -535,7 +536,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
...
@@ -535,7 +536,7 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
msg
=
"
No directories have been selected.
"
msg
=
"
No directories have been selected.
"
raise
Exception
(
msg
)
raise
Exception
(
msg
)
if
self
.
rt130_das_dict
==
{}:
if
self
.
rt130_das_dict
==
{}
and
not
self
.
log_checkbox
.
isChecked
()
:
self
.
data_type
,
self
.
is_multiplex
=
detect_data_type
(
self
.
data_type
,
self
.
is_multiplex
=
detect_data_type
(
self
.
list_of_dir
)
self
.
list_of_dir
)
...
...
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