Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alchemistmatt committed Jun 22, 2020
1 parent 4edbcdd commit 65ee9ce
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public class CompactSuffixArray {
*/
protected static final String EXTENSION_INDICES = ".csarr";

/**
* Default extension of a neighboring longest common prefix file
*/
protected static final String EXTENSION_NLCPS = ".cnlcp";

/**
Expand All @@ -46,7 +49,7 @@ public class CompactSuffixArray {
private final File indexFile;

/**
* Tracks precomputed LCPs of neighboring suffixes
* Tracks precomputed LCPs (longest common prefixes) of neighboring suffixes
*/
private final File nlcpFile;

Expand Down Expand Up @@ -184,7 +187,8 @@ private boolean isCompactSuffixArrayValid(long lastModified) {
return true;
}

//TODO: this method has a bug
// TODO: this method has a bug (according to Sangtae in 2011)
// The only evident bug is no checks for reading past the end of a file
private void computeNumDistinctPeptides() {
boolean[] isValidResidue = new boolean[128];
AminoAcidSet aaSet = AminoAcidSet.getStandardAminoAcidSet();
Expand Down

0 comments on commit 65ee9ce

Please sign in to comment.