Skip to content

Commit

Permalink
MAINT: change logging to have fstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vini2 committed Mar 14, 2023
1 parent 6801263 commit 43e6249
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions metacoag
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,23 @@ def main():
)

logger.info("Input arguments: ")
logger.info("Assembler used: " + assembler)
logger.info("Contigs file: " + contigs_file)
logger.info("Assembly graph file: " + assembly_graph_file)
logger.info(f"Assembler used: {assembler}")
logger.info(f"Contigs file: {contigs_file}")
logger.info(f"Assembly graph file: {assembly_graph_file}")
logger.info(f"Contig paths file: {contig_paths_file}")
logger.info("Abundance file: " + abundance_file)
logger.info("Final binning output file: " + output_path)
logger.info("Minimum length of contigs to consider: " + str(min_length))
logger.info("Depth to consider for label propagation: " + str(depth))
logger.info("p_intra: " + str(p_intra))
logger.info("p_inter: " + str(p_inter))
logger.debug("bin_threshold: " + str(bin_threshold))
logger.debug("break_threshold: " + str(break_threshold))
logger.info("mg_threshold: " + str(mg_threshold))
logger.info("bin_mg_threshold: " + str(bin_mg_threshold))
logger.info("min_bin_size: " + str(min_bin_size) + " base pairs")
logger.info("d_limit: " + str(d_limit))
logger.info("Number of threads: " + str(nthreads))
logger.info(f"Abundance file: {abundance_file}")
logger.info(f"Final binning output file: {output_path}")
logger.info(f"Minimum length of contigs to consider: {min_length}")
logger.info(f"Depth to consider for label propagation: {depth}")
logger.info(f"p_intra: {p_intra}")
logger.info(f"p_inter: {p_inter}")
logger.debug(f"bin_threshold: {bin_threshold}")
logger.debug(f"break_threshold: {break_threshold}")
logger.info(f"mg_threshold: {mg_threshold}")
logger.info(f"bin_mg_threshold: {bin_mg_threshold}")
logger.info(f"min_bin_size: {min_bin_size} base pairs")
logger.info(f"d_limit: {d_limit}")
logger.info(f"Number of threads: {nthreads}")
logger.info("MetaCoAG started")

start_time = time.time()
Expand Down

0 comments on commit 43e6249

Please sign in to comment.