Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
- Fix KO naming
- Cleanup log output a bit
  • Loading branch information
Michal Babinski committed Jul 29, 2024
1 parent 56c2004 commit 029671e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docker/create_tarfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def find_extension(input_file):
def write_kos(output_files):
for in_file in output_files:
bin_id = in_file.split(".")[-3]
output_file = f"{bin_id}.ko"
output_file = f"bins.{bin_id}.ko"
write_ko_list(in_file, output_file)


Expand Down Expand Up @@ -149,7 +149,7 @@ def rewrite_files(prefix, inputs, mags):
filter_func = get_contig_tsv
filter_one_pass(input_file, prefix, mags, extension, filter_func,
post=post)
print(f" - {input_file.split('/')[-1]}: {time()-start}")
print(f" - {input_file.split('/')[-1]}: {time()-start:.3f}s")


def ko_analysis(prefix):
Expand Down

0 comments on commit 029671e

Please sign in to comment.