Pairtree is a method for reconstructing cancer evolutionary history in individual patients, and analyzing intratumor genetic heterogeneity. Pairtree focuses on scaling to many more cancer samples and cancer cell subpopulations than other algorithms, and on producing concise and informative interactive characterizations of posterior uncertainty.
Traceback (most recent call last):
File "(...)/pairtree//bin/pairtree", line 169, in <module>
main()
File "(...)/pairtree//bin/pairtree", line 108, in main
supervars, clustrel_posterior, clustrel_evidence, clusters, garbage = clustermaker.use_pre_existing(
File "(...)/pairtree//bin/../lib/clustermaker.py", line 24, in use_pre_existing
clust_posterior, clust_evidence = pairwise.calc_posterior(supervars, logprior, rel_type='supervariant', parallel=parallel)
File "(...)/pairtree//bin/../lib/pairwise.py", line 161, in calc_posterior
with progressbar(total=len(pairs), desc='Computing %s relations' % rel_type, unit='pair', dynamic_ncols=True) as pbar:
TypeError: 'module' object is not callable
Looks like a module error. However, upon a closer inspection, no progressbar function has total, desc and unit parameters. Look like the tqdm module was supposed to be used instead. After replacing progressbar with tqdm, example runs.
After clean install, when running example:
Looks like a module error. However, upon a closer inspection, no
progressbar
function has total, desc and unit parameters. Look like thetqdm
module was supposed to be used instead. After replacingprogressbar
withtqdm
, example runs.Fixed in: https://github.com/morrislab/pairtree/pull/8