From dba7f1cc2b47b13940ff2b679a015e03cc2a0310 Mon Sep 17 00:00:00 2001 From: sherlyn <57467251+sherlyn99@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:14:16 -0700 Subject: [PATCH] Update micov/cli.py Co-authored-by: Daniel McDonald --- micov/cli.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/micov/cli.py b/micov/cli.py index 5d12bee..2691419 100644 --- a/micov/cli.py +++ b/micov/cli.py @@ -105,10 +105,7 @@ def compress(data, output, disable_compression, lengths, taxonomy): taxonomy = parse_taxonomy(taxonomy) if os.path.isdir(data): - file_list = glob(data + "/*.sam") - file_list_gz = glob(data + "/*.sam.gz") - file_list_xz = glob(data + "/*.sam.xz") - file_list = file_list + file_list_gz + file_list_xz + file_list = glob("data" + "/*.sam") + glob(data + '/*.sam.[xz,gz]') dfs = [] for samfile in file_list: