Skip to content

Commit 3f8b75b

Browse files
luke czaplaluke czapla
authored andcommitted
Getters and setters for default settings
1 parent 8967bcf commit 3f8b75b

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

‎biojava-structure/src/main/java/org/biojava/nbio/structure/basepairs/MismatchedBasePairParameters.java‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,35 @@ public List<Pair<Group>> findPairs(List<Chain> chains) {
8888
return result;
8989
}
9090

91+
public static double getMaxStagger() {
92+
return MaxStagger;
93+
}
94+
95+
public static void setMaxStagger(double maxStagger) {
96+
MaxStagger = maxStagger;
97+
}
98+
99+
public static double getMaxShear() {
100+
return MaxShear;
101+
}
102+
103+
public static void setMaxShear(double maxShear) {
104+
MaxShear = maxShear;
105+
}
91106

107+
public static double getMaxStretch() {
108+
return MaxStretch;
109+
}
110+
111+
public static void setMaxStretch(double maxStretch) {
112+
MaxStretch = maxStretch;
113+
}
114+
115+
public static double getMaxPropeller() {
116+
return MaxPropeller;
117+
}
118+
119+
public static void setMaxPropeller(double maxPropeller) {
120+
MaxPropeller = maxPropeller;
121+
}
92122
}

‎biojava-structure/src/main/java/org/biojava/nbio/structure/basepairs/TertiaryBasePairParameters.java‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,19 @@ public List<Pair<Group>> findPairs(List<Chain> chains) {
8080
return result;
8181
}
8282

83+
public static double getMaxStagger() {
84+
return MaxStagger;
85+
}
86+
87+
public static void setMaxStagger(double maxStagger) {
88+
MaxStagger = maxStagger;
89+
}
8390

91+
public static double getMaxPropeller() {
92+
return MaxPropeller;
93+
}
94+
95+
public static void setMaxPropeller(double maxPropeller) {
96+
MaxPropeller = maxPropeller;
97+
}
8498
}

0 commit comments

Comments
 (0)