Skip to content

Commit

Permalink
adding logging for feature
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlere committed Feb 2, 2024
1 parent ad9cb08 commit 6fa1d7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions genotype_variants/commands/small_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def generate(
logger.info("--------------------------------------------------")
return (std_output_maf, simplex_output_maf, duplex_output_maf)


@click_log.simple_verbosity_option(logger)
def generate_gbcms_cmd(
input_maf,
btype,
Expand All @@ -326,8 +326,9 @@ def generate_gbcms_cmd(

# if no sample_id is provided, it is inferred from the patient_id
if not sample_id:
logger.warning("genotype_variants:small_variants:generate_gbcms: No Sample ID found: Inferring Sample ID from Patient ID for for Geontyping.")
sample_id = patient_id

logger.info("genotype_variants:small_variants:generate_gbcms: Sample ID found. Genotyping using Sample ID.")
outfile = sample_id + "-" + btype + "_genotyped.maf"
output_maf = pathlib.Path.cwd().joinpath(outfile)
cmd = (
Expand Down

0 comments on commit 6fa1d7c

Please sign in to comment.