Skip to content

Commit

Permalink
Update micov/cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McDonald <[email protected]>
  • Loading branch information
sherlyn99 and wasade authored Sep 4, 2024
1 parent 5464f10 commit dba7f1c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions micov/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dba7f1c

Please sign in to comment.