From d7a6785b44fec7dc2a203ab794e097d4fa471224 Mon Sep 17 00:00:00 2001 From: James Procter Date: Thu, 11 Jan 2024 14:45:01 +0000 Subject: [PATCH] JAL-4366 new mapping type for 3di/protein sequence relationships --- src/jalview/datamodel/MappingType.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/jalview/datamodel/MappingType.java b/src/jalview/datamodel/MappingType.java index 551e5d8..6808b20 100644 --- a/src/jalview/datamodel/MappingType.java +++ b/src/jalview/datamodel/MappingType.java @@ -57,8 +57,19 @@ public enum MappingType { return PeptideToPeptide; } + },PeptideToThreeDi(1,1) { + @Override + public MappingType getInverse() + { + return ThreeDiToPeptide; + }; + },ThreeDiToPeptide(1,1) { + @Override + public MappingType getInverse() + { + return ThreeDiToPeptide; + }; }; - private int fromRatio; private int toRatio; -- 1.7.10.2