diff --git a/mutalyzer/GenRecord.py b/mutalyzer/GenRecord.py index d06547abbd40ef9a20f4e6b807d9c038df66a499..f0431ca2799fc9e0e78c42615e99cf57233a3d11 100644 --- a/mutalyzer/GenRecord.py +++ b/mutalyzer/GenRecord.py @@ -824,10 +824,10 @@ class GenRecord() : # It should be easy for SOAP clients to filter out all warnings # related to other transcripts, so we use two codes here. if transcript.current: - warning = 'WSPLICESELECTED' + warning = 'WSPLICE' str_transcript = 'transcript %s (selected)' % transcript.name else: - warning = 'WSPLICE' + warning = 'WSPLICE_OTHER' str_transcript = 'transcript %s' % transcript.name if intronPos <= config.get('spliceAlarm'): diff --git a/mutalyzer/variantchecker.py b/mutalyzer/variantchecker.py index 1125eed04df58d26d9135c24bddcdc5723d0b2e1..562c4d1e623b50c8b7fddd6a83bd86e0796ae271 100644 --- a/mutalyzer/variantchecker.py +++ b/mutalyzer/variantchecker.py @@ -1691,12 +1691,12 @@ def check_variant(description, output): else: if transcript.current: - output.addMessage(__file__, 2, "WCDSSELECTED", "CDS length is " \ + output.addMessage(__file__, 2, "WCDS", "CDS length is " \ "not a multiple of three in gene %s, transcript " \ "variant %s (selected)." % (gene.name, transcript.name)) transcript.proteinDescription = 'p.?' else: - output.addMessage(__file__, 2, "WCDS", "CDS length is " \ + output.addMessage(__file__, 2, "WCDS_OTHER", "CDS length is " \ "not a multiple of three in gene %s, transcript " \ "variant %s." % (gene.name, transcript.name)) transcript.proteinDescription = 'p.?'