From: James Procter Date: Thu, 11 Jan 2024 14:45:01 +0000 (+0000) Subject: JAL-4366 new mapping type for 3di/protein sequence relationships X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d7a6785b44fec7dc2a203ab794e097d4fa471224;p=jalview.git JAL-4366 new mapping type for 3di/protein sequence relationships --- 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;