Skip to content

Commit 30e7719

Browse files
author
Yana Valasatava
committed
Methods renaming
1 parent 1f90e25 commit 30e7719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

biojava-aa-prop/src/main/java/org/biojava/nbio/aaproperties/PeptideProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ public static final Map<Character, Double> getAACompositionChar(String sequence)
564564
* a protein sequence consisting of non-ambiguous characters only
565565
* @return the array of charges of amino acids in the protein (1 if amino acid is positively charged, -1 if negatively charged, 0 if not charged)
566566
*/
567-
public static final int[] getChargesOfAminoAcidsInProtein(String sequence) {
567+
public static final int[] getChargesOfAminoAcids(String sequence) {
568568
int[] charges = new int[sequence.length()];
569569
for ( int i=0; i < sequence.length(); i++ ) {
570570
char aa = sequence.toCharArray()[i];
@@ -580,7 +580,7 @@ public static final int[] getChargesOfAminoAcidsInProtein(String sequence) {
580580
* a protein sequence consisting of non-ambiguous characters only
581581
* @return the array of polarity of amino acids in the protein (1 if amino acid is polar, 0 if not)
582582
*/
583-
public static final int[] getPolarityOfAminoAcidsInProtein(String sequence) {
583+
public static final int[] getPolarityOfAminoAcids(String sequence) {
584584
int[] polarity = new int[sequence.length()];
585585
for ( int i=0; i < sequence.length(); i++ ) {
586586
char aa = sequence.toCharArray()[i];

0 commit comments

Comments
 (0)