diff --git a/python/obitools3/commands/stats.pyx b/python/obitools3/commands/stats.pyx index f9a181d..f40d714 100755 --- a/python/obitools3/commands/stats.pyx +++ b/python/obitools3/commands/stats.pyx @@ -7,6 +7,7 @@ from obitools3.apps.optiongroups import addMinimalInputOption, addTaxonomyOption from obitools3.dms.view import RollbackException from obitools3.apps.config import logger from obitools3.dms.capi.obiview cimport COUNT_COLUMN +from obitools3.utils cimport tostr from functools import reduce import math @@ -248,7 +249,7 @@ def run(config): for i in range(len(sorted_stats)): c = sorted_stats[i][0] for v in c: - print(pcat % str(v)+"\t", end="") + print(pcat % tostr(v)+"\t", end="") for m in config['stats']['minimum']: print((("%%%dd" % lmini[m]) % mini[m][c])+"\t", end="") for m in config['stats']['maximum']: