diff --git a/src/OGU/evaluate.py b/src/OGU/evaluate.py index 19a98aa..1fb571a 100644 --- a/src/OGU/evaluate.py +++ b/src/OGU/evaluate.py @@ -565,15 +565,15 @@ def evaluate_main(arg_str=None): summary, gc_array, sliding = evaluate(aln, arg) if summary is None: continue - log.info(f'\t{aln.stem}') - log.info(f'\tSamples: {summary.Samples}') - log.info(f'\tLength {summary.Length} bp') - log.info(f'\tGap ratio: {summary.Gap_Ratio:.8f}') - log.info(f'\tObserved resolution: {summary.Observed_Res:.8f}') - log.info(f'\tNormalized Shannon Index: {summary.Entropy:.8f}') - log.info(f'\tPi: {summary.Pi:.8f}') - log.info(f'\tPhylogenetic diversity: {summary.PD:.8f}') - log.info(f'\tTree resolution: {summary.Tree_Res:.8f}') + log.info(f' {aln.stem}') + log.info(f' Samples: {summary.Samples}') + log.info(f' Length {summary.Length} bp') + log.info(f' Gap ratio: {summary.Gap_Ratio:.8f}') + log.info(f' Observed resolution: {summary.Observed_Res:.8f}') + log.info(f' Normalized Shannon Index: {summary.Entropy:.8f}') + log.info(f' Pi: {summary.Pi:.8f}') + log.info(f' Phylogenetic diversity: {summary.PD:.8f}') + log.info(f' Tree resolution: {summary.Tree_Res:.8f}') with open(evaluation_result, 'a', encoding='utf-8') as out: out.write(aln.stem + ',' + str(summary) + '\n') if not arg.quick: diff --git a/src/OGU/utils.py b/src/OGU/utils.py index 17e4edf..2a14826 100644 --- a/src/OGU/utils.py +++ b/src/OGU/utils.py @@ -160,7 +160,7 @@ def init_out(arg): """ if not hasattr(arg, 'out') or arg.out is None: log.warning('Output folder was not set.') - log.info('\tUse "Result" instead.') + log.info(' Use "Result" instead.') arg.out = Path().cwd().absolute() / 'Result' else: arg.out = Path(arg.out).absolute()