From b89aee298b742554674751a7439bc676738d0fe2 Mon Sep 17 00:00:00 2001 From: Hal Simpson <hasimpson@usgs.gov> Date: Thu, 4 Feb 2016 16:13:35 -0700 Subject: [PATCH] removed code that I didn't want in this pull request --- geomagio/Controller.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 494a96c2..9d21f228 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -217,8 +217,7 @@ class Controller(object): stream=input_timeseries): continue # check for fillable gap at start - if options.update_count < options.update_max_iterations and \ - output_gap[0] == options.starttime: + if output_gap[0] == options.starttime: # found fillable gap at start, recurse to previous interval interval = options.endtime - options.starttime options.starttime = options.starttime - interval - delta @@ -385,7 +384,6 @@ def main(args): controller = Controller(inputfactory, outputfactory, algorithm) if args.update: - args.update_count = 0 controller.run_as_update(args) else: controller.run(args) @@ -453,10 +451,6 @@ def parse_args(args): action='store_true', default=False, help='Used to update data') - parser.add_argument('--update-max-iterations', - type=int, - help='Maximum iterations update will attempt.' - ) parser.add_argument('--input-edge-port', type=int, default=2060, -- GitLab