4343public class MismatchedBasePairParameters extends BasePairParameters {
4444
4545 // These are the criteria used to select proper base pairs.
46- protected static double MaxStagger = 2.0 , MaxShear = 5.0 , MaxStretch = 5.0 ,
47- MaxPropeller = 60.0 ;
46+ protected static double maxStagger = 2.0 , maxShear = 5.0 , maxStretch = 5.0 ,
47+ maxPropeller = 60.0 ;
4848
4949 /**
5050 * This constructor is used to create the TertiaryBasePairParameters object. The parent constructors are valid
@@ -95,13 +95,13 @@ public List<Pair<Group>> findPairs(List<Chain> chains) {
9595 Pair <Group > ga = new Pair <>(g1 , g2 );
9696 Matrix4d data = basePairReferenceFrame (ga );
9797 // if the stagger is greater than 2 Å, it's not really paired.
98- if (Math .abs (pairParameters [5 ]) > MaxStagger ) continue ;
98+ if (Math .abs (pairParameters [5 ]) > maxStagger ) continue ;
9999 // similarly, extreme shear and stretch is not a good base pair
100- if (Math .abs (pairParameters [3 ]) > MaxShear ) continue ;
101- if (Math .abs (pairParameters [4 ]) > MaxStretch ) continue ;
100+ if (Math .abs (pairParameters [3 ]) > maxShear ) continue ;
101+ if (Math .abs (pairParameters [4 ]) > maxStretch ) continue ;
102102
103103 // if the propeller is ridiculous it's also not that good of a pair.
104- if (Math .abs (pairParameters [1 ]) > MaxPropeller ) {
104+ if (Math .abs (pairParameters [1 ]) > maxPropeller ) {
105105 continue ;
106106 }
107107 result .add (ga );
@@ -125,62 +125,62 @@ public List<Pair<Group>> findPairs(List<Chain> chains) {
125125 * @return the maximum propeller ("propeller-twist", in degrees) allowed.
126126 */
127127 public static double getMaxStagger () {
128- return MaxStagger ;
128+ return maxStagger ;
129129 }
130130
131131 /**
132132 * This method sets the maximum stagger allowed for a base pair, prior to analyze() call
133133 * @param maxStagger The maximum propeller (in Å) allowed to consider two bases paired
134134 */
135135 public static void setMaxStagger (double maxStagger ) {
136- MaxStagger = maxStagger ;
136+ maxStagger = maxStagger ;
137137 }
138138
139139 /**
140140 * This method returns the maximum shear between bases used as criteria for the characterization of two bases as being paired.
141141 * @return the maximum shear (in Å) allowed.
142142 */
143143 public static double getMaxShear () {
144- return MaxShear ;
144+ return maxShear ;
145145 }
146146
147147 /**
148148 * This method sets the maximum shear allowed for a base pair, prior to analyze() call
149149 * @param maxShear The maximum shear (in Å) allowed to consider two bases paired
150150 */
151151 public static void setMaxShear (double maxShear ) {
152- MaxShear = maxShear ;
152+ maxShear = maxShear ;
153153 }
154154
155155 /**
156156 * This method returns the maximum stretch between bases used as criteria for the characterization of two bases as being paired.
157157 * @return the maximum stretch (in Å) allowed.
158158 */
159159 public static double getMaxStretch () {
160- return MaxStretch ;
160+ return maxStretch ;
161161 }
162162
163163 /**
164164 * This method sets the maximum stretch allowed for a base pair, prior to analyze() call.
165165 * @param maxStretch The maximum stretch (in Å) allowed to consider two bases paired
166166 */
167167 public static void setMaxStretch (double maxStretch ) {
168- MaxStretch = maxStretch ;
168+ maxStretch = maxStretch ;
169169 }
170170
171171 /**
172172 * This method returns the maximum propeller twist between bases used as criteria for the characterization of two bases as being paired.
173173 * @return the maximum propeller ("propeller-twist", in degrees) allowed.
174174 */
175175 public static double getMaxPropeller () {
176- return MaxPropeller ;
176+ return maxPropeller ;
177177 }
178178
179179 /**
180180 * This method sets the maximum propeller allowed for a base pair, prior to analyze() call
181181 * @param maxPropeller The maximum propeller ("propeller-twist", in degrees) allowed to consider two bases paired
182182 */
183183 public static void setMaxPropeller (double maxPropeller ) {
184- MaxPropeller = maxPropeller ;
184+ maxPropeller = maxPropeller ;
185185 }
186186}
0 commit comments