Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DQSegDB Client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
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
IGWN Computing and Software
DQSegDB
DQSegDB Client
Commits
473c463d
Commit
473c463d
authored
2 years ago
by
Duncan Macleod
Committed by
Duncan Macleod
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
clientutils: remove unused function
parent
00e5d93b
No related branches found
No related tags found
1 merge request
!114
Remove unused function in clientutils
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dqsegdb/clientutils.py
+0
-19
0 additions, 19 deletions
dqsegdb/clientutils.py
with
0 additions
and
19 deletions
dqsegdb/clientutils.py
+
0
−
19
View file @
473c463d
...
@@ -31,9 +31,6 @@ from glue.ligolw import types as ligolwtypes
...
@@ -31,9 +31,6 @@ from glue.ligolw import types as ligolwtypes
from
glue.segmentdb
import
segmentdb_utils
from
glue.segmentdb
import
segmentdb_utils
from
glue.ligolw.utils
import
ligolw_sqlite
from
glue.ligolw
import
dbtables
from
dqsegdb
import
jsonhelper
from
dqsegdb
import
jsonhelper
...
@@ -466,22 +463,6 @@ def run_query_segments(doc, process_id, engine, gps_start_time, gps_end_time, in
...
@@ -466,22 +463,6 @@ def run_query_segments(doc, process_id, engine, gps_start_time, gps_end_time, in
#
#
def
setup_files
(
dir_name
,
gps_start_time
,
gps_end_time
):
# Filter out the ones that are outside our time range
xml_files
=
segmentdb_utils
.
get_all_files_in_range
(
dir_name
,
gps_start_time
,
gps_end_time
)
handle
,
temp_db
=
tempfile
.
mkstemp
(
suffix
=
'
.sqlite
'
)
os
.
close
(
handle
)
target
=
dbtables
.
get_connection_filename
(
temp_db
,
None
,
True
,
False
)
connection
=
ligolw_sqlite
.
setup
(
target
)
ligolw_sqlite
.
insert_from_urls
(
connection
,
xml_files
)
# [temp_xml])
segmentdb_utils
.
ensure_segment_table
(
connection
)
return
temp_db
,
connection
def
add_to_segment_ns
(
xmldoc
,
proc_id
,
seg_def_id
,
sgmtlist
):
def
add_to_segment_ns
(
xmldoc
,
proc_id
,
seg_def_id
,
sgmtlist
):
try
:
try
:
segtable
=
table
.
get_table
(
xmldoc
,
lsctables
.
SegmentTable
.
tableName
)
segtable
=
table
.
get_table
(
xmldoc
,
lsctables
.
SegmentTable
.
tableName
)
...
...
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