JAL-4366 new mapping type for 3di/protein sequence relationships
authorJames Procter <j.procter@dundee.ac.uk>
Thu, 11 Jan 2024 14:45:01 +0000 (14:45 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Thu, 11 Jan 2024 14:45:01 +0000 (14:45 +0000)
src/jalview/datamodel/MappingType.java

index 551e5d8..6808b20 100644 (file)
@@ -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;