From f414e2a442501fbbc689363a205de1b7a7d4c6c2 Mon Sep 17 00:00:00 2001 From: adamhrv Date: Thu, 27 Jun 2019 23:57:05 +0200 Subject: update msc cmds --- megapixels/commands/msc/count.py | 2 +- megapixels/commands/msc/summarize.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'megapixels/commands/msc') diff --git a/megapixels/commands/msc/count.py b/megapixels/commands/msc/count.py index 3c242bc6..4a92170a 100644 --- a/megapixels/commands/msc/count.py +++ b/megapixels/commands/msc/count.py @@ -118,6 +118,6 @@ def cli(ctx, opt_fp_in, opt_fp_out, opt_slice, opt_force): df = pd.DataFrame.from_dict(malta_images) fp_out = opt_fp_out.replace('.csv', '_images_malta.csv') df.to_csv(fp_out, index=False) - total = len(malta) + total = len(malta_images) log.debug(f'wrote {fp_out}') log.debug(f'Found {total:,} malta embassy images') \ No newline at end of file diff --git a/megapixels/commands/msc/summarize.py b/megapixels/commands/msc/summarize.py index 762cddc2..8df32c45 100644 --- a/megapixels/commands/msc/summarize.py +++ b/megapixels/commands/msc/summarize.py @@ -13,7 +13,7 @@ log = Logger.getLogger() @click.option('-o', '--output', 'opt_fp_out', required=True) @click.pass_context def cli(ctx, opt_fp_in, opt_fp_out): - """_template_""" + """Summarize""" import sys from glob import glob -- cgit v1.2.3-70-g09d2