Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nilesh-tawari committed Oct 3, 2017
1 parent 29a59b6 commit a13ffa5
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 155 deletions.
4 changes: 2 additions & 2 deletions chronqc/chronqc_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ def main(args):
if len(num_cols) > 0:
for col in num_cols:
default_json.append(json.loads(mstd.format(table_name, col)))
with open(out_json, 'w') as out_json:
json.dump(default_json, out_json, sort_keys = False, indent = 4,
with open(out_json, 'w') as out_json_file:
json.dump(default_json, out_json_file, sort_keys = False, indent = 4,
ensure_ascii = False)
logger.info("Created ChronQC db: {0} with {1} records".format(out_file, len(df)))
logger.info("Created ChronQC default JSON file: {0}. Customize the JSON as needed before generating ChronQC plots.".format(out_json))
Expand Down

0 comments on commit a13ffa5

Please sign in to comment.