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
07c93591
Commit
07c93591
authored
6 years ago
by
Jeremy M Fee
Committed by
Claycomb, Abram Earl
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix linting errors
parent
3257e52f
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
+3
-2
3 additions, 2 deletions
geomagio/Controller.py
geomagio/algorithm/Algorithm.py
+0
-1
0 additions, 1 deletion
geomagio/algorithm/Algorithm.py
with
3 additions
and
3 deletions
geomagio/Controller.py
+
3
−
2
View file @
07c93591
...
...
@@ -6,7 +6,7 @@ import argparse
import
sys
from
io
import
BytesIO
from
obspy.core
import
Stream
,
UTCDateTime
from
.algorithm
import
algorithms
from
.algorithm
import
algorithms
,
AlgorithmException
from
.PlotTimeseriesFactory
import
PlotTimeseriesFactory
from
.StreamTimeseriesFactory
import
StreamTimeseriesFactory
from
.
import
TimeseriesUtility
,
Util
...
...
@@ -216,7 +216,8 @@ class Controller(object):
return
algorithm
=
self
.
_algorithm
if
algorithm
.
get_starttime
()
is
not
None
:
raise
Error
(
'
Stateful algorithms should NOT use run_as_update
'
)
raise
AlgorithmException
(
'
Stateful algorithms cannot use run_as_update
'
)
input_channels
=
options
.
inchannels
or
\
algorithm
.
get_input_channels
()
output_observatory
=
options
.
output_observatory
...
...
This diff is collapsed.
Click to expand it.
geomagio/algorithm/Algorithm.py
+
0
−
1
View file @
07c93591
...
...
@@ -125,7 +125,6 @@ class Algorithm(object):
"""
return
None
@classmethod
def
add_arguments
(
cls
,
parser
):
"""
Add command line arguments to argparse parser.
...
...
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