Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EXDF-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
dataAnalysis
EXDF-tools
Commits
6d0fd2bd
Commit
6d0fd2bd
authored
1 year ago
by
Philipp Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
No longer check for XTDF structure
parent
0509da5e
No related branches found
No related tags found
1 merge request
!8
Initial performance optimizations for frame selection pilots
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/exdf/data_reduction/red_writer.py
+0
-8
0 additions, 8 deletions
src/exdf/data_reduction/red_writer.py
with
0 additions
and
8 deletions
src/exdf/data_reduction/red_writer.py
+
0
−
8
View file @
6d0fd2bd
...
...
@@ -166,9 +166,6 @@ class ReduceWriter(SourceDataWriter):
def
_filter_ops
(
self
,
op
):
return
[
args
[
1
:]
for
args
in
self
.
_ops
if
args
[
0
]
==
op
]
def
_is_xtdf_source
(
self
,
source
):
return
self
.
_data
[
source
].
keys
()
>
{
'
header.pulseCount
'
,
'
image.data
'
}
def
_get_entry_masks
(
self
,
source
,
index_group
,
train_sel
,
entry_sel
):
train_ids
=
select_train_ids
(
self
.
_custom_trains
.
get
(
source
,
list
(
self
.
_data
.
train_ids
)),
...
...
@@ -444,11 +441,6 @@ class ReduceWriter(SourceDataWriter):
f
'
Ignoring non-XTDF source
{
source
}
based on name
'
)
return
if
not
self
.
_is_xtdf_source
(
source
):
self
.
log
.
warning
(
f
'
Ignoring non-XTDF source
{
source
}
based on structure
'
)
return
self
.
_custom_xtdf_masks
.
setdefault
(
source
,
{}).
update
(
self
.
_get_entry_masks
(
source
,
'
image
'
,
train_sel
,
entry_sel
))
self
.
log
.
debug
(
f
'
Applying XTDF selection to
{
source
}
'
)
...
...
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