From 670b343ac7629fe0e64e86263ae420b01952f427 Mon Sep 17 00:00:00 2001 From: Esteban Date: Sun, 23 Jan 2022 12:22:14 +0100 Subject: [PATCH] Update humann2.py --- cap2/pipeline/short_read/humann2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap2/pipeline/short_read/humann2.py b/cap2/pipeline/short_read/humann2.py index 39e2460e..fc8dc20a 100644 --- a/cap2/pipeline/short_read/humann2.py +++ b/cap2/pipeline/short_read/humann2.py @@ -98,7 +98,7 @@ def __init__(self, *args, **kwargs): self.alignment = MicaUniref90.from_cap_task(self) def tool_version(self): - return self.run_cmd(f'{self.pkg.bin} --version').stderr.decode('utf-8') + return self.run_cmd(f'{self.humann.bin} --version').stderr.decode('utf-8') def requires(self): return self.humann, self.alignment, self.db