From ab5fac836ebee0116592775423c7fe45a2488d91 Mon Sep 17 00:00:00 2001 From: "J.F.J. Laros" <j.f.j.laros@lumc.nl> Date: Wed, 3 Aug 2011 11:50:52 +0000 Subject: [PATCH] Added a check that prevents the insertion of a range. git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@321 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1 --- src/Mutalyzer.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Mutalyzer.py b/src/Mutalyzer.py index f3c4b45c..3cf6657b 100644 --- a/src/Mutalyzer.py +++ b/src/Mutalyzer.py @@ -1243,10 +1243,19 @@ def __rv(MUU, RawVar, GenRecordInstance, parts, O, transcript) : GenRecordInstance, O) if RawVar.MutationType == "inv" : checkInversion(start_g, end_g, MUU, GenRecordInstance, O) + + # TODO implement this feature. + if RawVar.MutationType in ["delins", "ins"] : + if not Arg1 : + O.addMessage(__file__, 4, "ENOTIMPLEMENTED", + "Insertion of a range is not implemented yet.") + return + #if + #if + if RawVar.MutationType == "ins" : checkInsertion(start_g, end_g, Arg1, MUU, GenRecordInstance, O) - # DelIns. if RawVar.MutationType == "delins" : if not Arg1 : -- GitLab