Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sgn-ts
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
greg
sgn-ts
Commits
5e46fb88
Commit
5e46fb88
authored
1 month ago
by
Jameson Rollins
Browse files
Options
Downloads
Plain Diff
Merge branch 'mr-type-fixes' into 'main'
type fixes See merge request
!118
parents
8be6e430
995c749e
No related branches found
No related tags found
1 merge request
!118
type fixes
Pipeline
#712757
passed
1 month ago
Stage: build
Stage: test
Stage: deploy
Stage: .post
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sgnts/sinks/dump.py
+1
-1
1 addition, 1 deletion
src/sgnts/sinks/dump.py
tests/test_correlate.py
+3
-0
3 additions, 0 deletions
tests/test_correlate.py
with
4 additions
and
1 deletion
src/sgnts/sinks/dump.py
+
1
−
1
View file @
5e46fb88
...
...
@@ -51,7 +51,7 @@ class DumpSeriesSink(TSSink):
endpoint
=
False
,
)
out
=
np
.
vstack
([
ts
,
data
]).
T
with
open
(
self
.
fname
,
"
a
"
)
as
f
:
with
open
(
self
.
fname
,
"
a
b
"
)
as
f
:
np
.
savetxt
(
f
,
out
)
def
internal
(
self
)
->
None
:
...
...
This diff is collapsed.
Click to expand it.
tests/test_correlate.py
+
3
−
0
View file @
5e46fb88
...
...
@@ -5,6 +5,7 @@ import pytest
import
scipy.signal.windows
from
sgn
import
CollectSink
,
IterSource
,
Pipeline
from
sgn
import
Frame
from
sgnts
import
filtertools
from
sgnts.base
import
(
AdapterConfig
,
...
...
@@ -36,6 +37,8 @@ class IsGapCollectSink(CollectSink):
Returns:
"""
self
.
inputs
:
dict
[
str
,
Frame
]
for
pad_name
,
frame
in
self
.
inputs
.
items
():
if
not
frame
.
is_gap
:
...
...
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