diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-08-12 09:22:01 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-08-12 09:22:01 -0700 |
commit | 3dba46e357ff7f32ae4b541433ab617a031f02e3 (patch) | |
tree | ec441f96c1f201fcd263f2aa3105c8afbc475b6f | |
parent | e1fe2c46651bc53b5ab0006cca07d446b357c79a (diff) |
fix: remove profiling code
-rw-r--r-- | pangraph/build.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pangraph/build.py b/pangraph/build.py index 14f96d3..4d1a77f 100644 --- a/pangraph/build.py +++ b/pangraph/build.py @@ -71,12 +71,10 @@ def main(args): mkdir(tmp) log("aligning") - with cProfile.Profile() as pr: - T.align(tmp, args.len, args.mu, args.beta, args.extensive, args.statistics) - # TODO: when debugging phase is done, remove tmp directory + T.align(tmp, args.len, args.mu, args.beta, args.extensive, args.statistics) + # TODO: when debugging phase is done, remove tmp directory - graphs = T.collect() - pr.dump_stats("perf.prof") + graphs = T.collect() for i, g in enumerate(graphs): log(f"graph {i}: nseqs: {len(g.seqs)} nblks: {len(g.blks)}") |