diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genotypes/preprocess_csv_collect_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/genotypes/preprocess_csv_collect_info.py b/scripts/genotypes/preprocess_csv_collect_info.py index 5c51e20..6eb6cbc 100644 --- a/scripts/genotypes/preprocess_csv_collect_info.py +++ b/scripts/genotypes/preprocess_csv_collect_info.py @@ -1,5 +1,6 @@ """Preprocess the genotypes CSV files: Collect basic info.""" import sys +import json import logging from pathlib import Path from dataclasses import asdict @@ -310,7 +311,7 @@ if __name__ == "__main__": "na_strings": args.na_strings, "transposed": args.is_transposed }) - logger.debug("THE STATISTICS: %s", asdict(stats)) + print(json.dumps(asdict(stats))) return SysExit.OK except FileNotFoundError as _fnf: logger.error(", ".join(_fnf.args)) |
