Skip to content

Commit

Permalink
Delete a debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcyu committed Jan 30, 2018
1 parent 5d2f63a commit 82cd63f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/main/java/proteomics/Search/SearchWrap.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,6 @@ public FinalResultEntry call() throws IOException {
}
ResultEntry resultEntry = search_obj.doSearch(spectrumEntry, xcorrPL);
if (resultEntry != null) {
if (ECL2.debug) {
SparseBooleanVector chainVector1 = mass_tool_obj.buildTheoVector(resultEntry.getChain1(), (short) resultEntry.getLinkSite1(), spectrumEntry.precursor_mass - (float) (mass_tool_obj.calResidueMass(resultEntry.getChain1()) + MassTool.H2O), spectrumEntry.precursor_charge);
SparseBooleanVector chainVector2 = mass_tool_obj.buildTheoVector(resultEntry.getChain2(), (short) resultEntry.getLinkSite2(), spectrumEntry.precursor_mass - (float) (mass_tool_obj.calResidueMass(resultEntry.getChain2()) + MassTool.H2O), spectrumEntry.precursor_charge);
BufferedWriter writer = new BufferedWriter(new FileWriter(spectrumEntry.scan_num + ".chain.spectrum.csv"));
writer.write(resultEntry.getChain1() + " bin idx\n");
for (int idx : chainVector1.getIdxSet()) {
writer.write(idx + "\n");
}
writer.write(resultEntry.getChain2() + " bin idx\n");
for (int idx : chainVector2.getIdxSet()) {
writer.write(idx + "\n");
}
writer.close();
}
if (1 - (resultEntry.getSecondScore() / resultEntry.getScore()) > delta_c_t) {
if (cal_evalue) {
float originalTolerance;
Expand Down

0 comments on commit 82cd63f

Please sign in to comment.