diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 494a96c295aa0e2e2f6c802298d897ba235f019d..9d21f228dd546f1d1b9e64cfcf7c99199e53733c 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,