Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geomag-algorithms
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
ghsc
National Geomagnetism Program
geomag-algorithms
Commits
6b2502d2
Commit
6b2502d2
authored
6 years ago
by
Jeremy M Fee
Browse files
Options
Downloads
Patches
Plain Diff
Linting fixes
parent
444b4500
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
geomagio/Controller.py
+1
-1
1 addition, 1 deletion
geomagio/Controller.py
test/TimeseriesUtility_test.py
+2
-0
2 additions, 0 deletions
test/TimeseriesUtility_test.py
with
3 additions
and
1 deletion
geomagio/Controller.py
+
1
−
1
View file @
6b2502d2
...
@@ -362,7 +362,7 @@ def get_output_factory(args):
...
@@ -362,7 +362,7 @@ def get_output_factory(args):
try
:
try
:
# python 3
# python 3
output_stream
=
sys
.
stdout
.
buffer
output_stream
=
sys
.
stdout
.
buffer
except
:
except
AttributeError
:
# python 2
# python 2
output_stream
=
sys
.
stdout
output_stream
=
sys
.
stdout
elif
args
.
output_url
is
not
None
:
elif
args
.
output_url
is
not
None
:
...
...
This diff is collapsed.
Click to expand it.
test/TimeseriesUtility_test.py
+
2
−
0
View file @
6b2502d2
...
@@ -36,6 +36,7 @@ def test_get_stream_gaps():
...
@@ -36,6 +36,7 @@ def test_get_stream_gaps():
# no gaps in Z channel
# no gaps in Z channel
assert_equals
(
len
(
gaps
[
'
Z
'
]),
0
)
assert_equals
(
len
(
gaps
[
'
Z
'
]),
0
)
def
test_get_stream_gaps_channels
():
def
test_get_stream_gaps_channels
():
"""
TimeseriesUtility_test.test_get_stream_gaps_channels()
"""
TimeseriesUtility_test.test_get_stream_gaps_channels()
...
@@ -56,6 +57,7 @@ def test_get_stream_gaps_channels():
...
@@ -56,6 +57,7 @@ def test_get_stream_gaps_channels():
assert_equals
(
'
H
'
in
gaps
,
False
)
assert_equals
(
'
H
'
in
gaps
,
False
)
assert_equals
(
len
(
gaps
[
'
Z
'
]),
0
)
assert_equals
(
len
(
gaps
[
'
Z
'
]),
0
)
def
test_get_trace_gaps
():
def
test_get_trace_gaps
():
"""
TimeseriesUtility_test.test_get_trace_gaps()
"""
TimeseriesUtility_test.test_get_trace_gaps()
...
...
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