timfuz: remove dead code

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2018-09-11 18:22:22 -07:00
parent 5c122c2fe1
commit 7e43784469
1 changed files with 6 additions and 11 deletions

View File

@ -111,17 +111,12 @@ def run(fns_in, corner, run_corner, sub_json=None, sub_csv=None, dedup=True, mas
# however, I wanted to do some filtering based on expected form
if sub_csv:
Ads2, b2 = loadc_Ads_b([sub_csv], corner, ico=True)
if 0:
Ads = Ads + Ads2
b = b + b2
else:
bounds = Ads2bounds(Ads2, b2)
rows_old = len(Ads)
Ads, b = filter_bounds(Ads, b, bounds)
print('Filter bounds: %s => %s rows' % (rows_old, len(Ads)))
if 1:
Ads = Ads + Ads2
b = b + b2
bounds = Ads2bounds(Ads2, b2)
rows_old = len(Ads)
Ads, b = filter_bounds(Ads, b, bounds)
print('Filter bounds: %s => %s rows' % (rows_old, len(Ads)))
Ads = Ads + Ads2
b = b + b2
if verbose:
print