From a41b9dbc003363c984f890464ac9f423f15e13fd Mon Sep 17 00:00:00 2001 From: James Miller Date: Sat, 25 Apr 2020 02:34:48 -0500 Subject: [PATCH] comment to combiner, closes #80 --- bin/combine-to-flat-yaml-and-json.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/combine-to-flat-yaml-and-json.py b/bin/combine-to-flat-yaml-and-json.py index ec0c63c..abb1815 100644 --- a/bin/combine-to-flat-yaml-and-json.py +++ b/bin/combine-to-flat-yaml-and-json.py @@ -3,6 +3,8 @@ import glob import os import json +# TODO eventually write in some command flags to only output one of the three formats + def main(): # change directory to the data directory os.chdir('../data/') @@ -50,6 +52,8 @@ def main(): finalflat = json.dumps(master_data, sort_keys=True, default=str) with open('tmp-combined.json', 'w') as f: f.write(final) + print("\tDone.") + print("Writing tmp-combined-flat.json") with open('tmp-combined-flat.json', 'w') as f: f.write(finalflat) print("\tDone.")