Skip to content

Commit

Permalink
suppress print debug statements from investigating #340
Browse files Browse the repository at this point in the history
  • Loading branch information
widdowquinn committed Sep 30, 2021
1 parent 17128b2 commit 8547554
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyani/anim.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,10 @@ def process_deltadir(delta_dir, org_lengths, logger=None):
logger.warning(
"Total alignment length reported in " + "%s is zero!" % deltafile
)
print(f"{tot_length=} {org_lengths[qname]=} {org_lengths[sname]=}")
# print(f"{tot_length=} {org_lengths[qname]=} {org_lengths[sname]=}")
query_cover = float(tot_length) / org_lengths[qname]
sbjct_cover = float(tot_length) / org_lengths[sname]
print(f"{query_cover=} {sbjct_cover=}")
# print(f"{query_cover=} {sbjct_cover=}")

# Calculate percentage ID of aligned length. This may fail if
# total length is zero.
Expand All @@ -243,7 +243,7 @@ def process_deltadir(delta_dir, org_lengths, logger=None):
results.add_sim_errors(qname, sname, tot_sim_error)
results.add_pid(qname, sname, perc_id)

print(f"before adding coverage {results.alignment_coverage=}")
# print(f"before adding coverage {results.alignment_coverage=}")
results.add_coverage(qname, sname, query_cover, sbjct_cover)
print(f"after adding coverage {results.alignment_coverage=}")
# print(f"after adding coverage {results.alignment_coverage=}")
return results

0 comments on commit 8547554

Please sign in to comment.