Is anyone familiar with this error message during the rule refine? Does it have anything to do with the parameter clock_filter_iqd ?
1001.75 ###TreeTime.run: FINAL ROUND - confidence estimation via marginal
reconstruction
Traceback (most recent call last):
File "/anaconda3/envs/nextstrain/bin/augur", line 8, in <module>
sys.exit(main())
File "/anaconda3/envs/nextstrain/lib/python3.6/site-packages/augur/__main__.py", line 10, in main
return augur.run( argv[1:] )
File "/anaconda3/envs/nextstrain/lib/python3.6/site-packages/augur/__init__.py", line 74, in run
return args.__command__.run(args)
File "/anaconda3/envs/nextstrain/lib/python3.6/site-packages/augur/refine.py", line 207, in run
covariance=args.covariance, resolve_polytomies=(not args.keep_polytomies))
File "/anaconda3/envs/nextstrain/lib/python3.6/site-packages/augur/refine.py", line 74, in refine
n.num_date_confidence = list(tt.get_max_posterior_region(n, 0.9))
File "/anaconda3/envs/nextstrain/lib/python3.6/site-packages/treetime/clock_tree.py", line 877, in get_max_posterior_region
kind='linear', fill_value=min_max[0], bounds_error=False)
File "/anaconda3/envs/nextstrain/lib/python3.6/site-packages/scipy/interpolate/interpolate.py", line 543, in __init__
"least %d entries" % minval)
ValueError: x and y arrays must have at least 2 entries
Hi @andersonbrito! Very interesting to see this error popping up again. This is a rare error that sometimes happens with TreeTime during the refine step. It’s usually a one-off and restarting that step clears it - but clearly that’s still irritating if it’s been running for a while! Can I ask, what version of Treetime are you running? We had hoped that the latest updates had cleared this error. I’ll tag in @rneher as well, as he’s been the one tracking down the error!
@andersonbrito Before upgrading, could you confirm your existing TreeTime version so we know for sure that the bug isn’t still present in version 0.7.6?