about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2025-09-01 15:31:45 +0100
committerArun Isaac2025-09-01 16:51:08 +0100
commit0a74dd660c10f7de53dcd4f109ab54278facd85c (patch)
tree2cc84c0449ceec5c6be9de7b51eed04b621040df
parentbefac831864a275412df63c5018f24763994f3fd (diff)
downloadpyhegp-0a74dd660c10f7de53dcd4f109ab54278facd85c.tar.gz
pyhegp-0a74dd660c10f7de53dcd4f109ab54278facd85c.tar.lz
pyhegp-0a74dd660c10f7de53dcd4f109ab54278facd85c.zip
Decide to not use logging.
Remove comments mentioning logging.

Command-line error messages have their own place; they are not the
same as logging.
-rw-r--r--pyhegp/pyhegp.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pyhegp/pyhegp.py b/pyhegp/pyhegp.py
index 35346c2..650b1f8 100644
--- a/pyhegp/pyhegp.py
+++ b/pyhegp/pyhegp.py
@@ -134,7 +134,6 @@ def pool(pooled_summary_file, summary_files):
     max_snps = max(len(summary.data) for summary in summaries)
     if len(pooled_summary.data) < max_snps:
         dropped_snps = max_snps - len(pooled_summary.data)
-        # TODO: Use logging.
         print(f"Dropped {dropped_snps} SNP(s)")
     write_summary(pooled_summary_file, pooled_summary)
 
@@ -162,7 +161,6 @@ def encrypt(genotype_file, summary_file, key_file, ciphertext_file):
     encrypted_genotype = encrypt_genotype(genotype, key, summary)
     if len(encrypted_genotype) < len(genotype):
         dropped_snps = len(genotype) - len(encrypted_genotype)
-        # TODO: Use logging.
         print(f"Dropped {dropped_snps} SNP(s)")
     write_genotype(ciphertext_file, encrypted_genotype)