Skip to content

Commit

Permalink
Merge pull request #53 from genome-nexus/rmadupuri-patch-1
Browse files Browse the repository at this point in the history
Add missing function that prints warnings for problematic files
  • Loading branch information
leexgh authored May 19, 2023
2 parents 247b08f + 056da1c commit 06de075
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vcf2maf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import re
import json
from chardet import detect
import warnings

# ---------------------------- GLOBALS ----------------------------

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 06de075

Please sign in to comment.