| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,7 +89,7 @@ public final static boolean doesSequenceContainInvalidChar(String sequence, Set< | |||
| 89 | 89 | */ | |
| 90 | 90 | public final static int getNumberOfInvalidChar(String sequence, Set<Character> cSet, boolean ignoreCase){ | |
| 91 | 91 | char[] cArray = ignoreCase ? sequence.toUpperCase().toCharArray(): sequence.toCharArray(); | |
| 92 | - final Set<Character> characterSet = cSet == null ? cSet : PeptideProperties.standardAASet; | ||
| 92 | + final Set<Character> characterSet = cSet == null ?PeptideProperties.standardAASet: cSet ; | ||
| 93 | 93 | int total = (int)CharBuffer.wrap(cArray).chars().filter(character -> !characterSet.contains((char)character)).count(); | |
| 94 | 94 | return total; | |
| 95 | 95 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments