Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coyote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nils
coyote
Commits
5be8515c
Commit
5be8515c
authored
4 months ago
by
Nils-Arne Dreier
Browse files
Options
Downloads
Patches
Plain Diff
fix: dimensions in data handler if no buffer is used
parent
c158ff88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!24
fix: dimensions in data handler if no buffer is used
Pipeline
#92081
passed
4 months ago
Stage: lint
Stage: build
Stage: test
Stage: verify
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/hiopy/_data_handler.py
+1
-1
1 addition, 1 deletion
apps/hiopy/_data_handler.py
with
1 addition
and
1 deletion
apps/hiopy/_data_handler.py
+
1
−
1
View file @
5be8515c
...
...
@@ -47,7 +47,7 @@ class DataHandler:
self
.
buf
[
self
.
t
%
self
.
time_chunk_size
,
...]
=
np
.
transpose
(
event
.
data
)
event
.
release
()
else
:
self
.
buf
=
np
.
transpose
(
event
.
data
)
self
.
buf
=
np
.
squeeze
(
np
.
transpose
(
event
.
data
)
)[
None
,
...]
self
.
t
+=
1
if
self
.
t
%
self
.
time_chunk_size
==
0
or
not
self
.
use_buffer
:
# chunk complete
self
.
flush
()
...
...
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