diff --git a/clinvar_data/class_by_freq.py b/clinvar_data/class_by_freq.py index 44317f9..49983a2 100644 --- a/clinvar_data/class_by_freq.py +++ b/clinvar_data/class_by_freq.py @@ -111,7 +111,7 @@ def write_report(counts: dict, path_output: str): with outputf: for hgnc, counts in sorted(counts.items(), key=lambda x: int(x[0][5:])): print( - json.dumps({"hgnc": hgnc, "counts": counts.model_dump(mode="json")}), # type: ignore + json.dumps({"hgnc": hgnc, "counts": counts}), # type: ignore file=outputf, )