git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d465da
)
JAL-4366 new mapping type for 3di/protein sequence relationships
author
James Procter
<j.procter@dundee.ac.uk>
Thu, 11 Jan 2024 14:45:01 +0000
(14:45 +0000)
committer
James Procter
<j.procter@dundee.ac.uk>
Thu, 11 Jan 2024 14:45:01 +0000
(14:45 +0000)
src/jalview/datamodel/MappingType.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/MappingType.java
b/src/jalview/datamodel/MappingType.java
index
551e5d8
..
6808b20
100644
(file)
--- 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;