From 056da1c8b1d95a9b5c99df6d9f63c9b55cb1f571 Mon Sep 17 00:00:00 2001 From: Ramya Madupuri <34350829+rmadupuri@users.noreply.github.com> Date: Fri, 19 May 2023 12:03:35 -0400 Subject: [PATCH] print warning messages --- vcf2maf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcf2maf.py b/vcf2maf.py index abd57c2..a6df7de 100644 --- a/vcf2maf.py +++ b/vcf2maf.py @@ -27,6 +27,7 @@ import re import json from chardet import detect +import warnings # ---------------------------- GLOBALS ---------------------------- @@ -863,6 +864,9 @@ def create_maf_record_from_vcf(sample_id, center_name, sequence_source, vcf_data def is_missing_data_value(value): return (value in NULL_OR_MISSING_VALUES) +def print_warning(message): + print(message) + def process_datum(value): """ Returns a cleaned up data value.