Skip to content

Commit

Permalink
Fix peak and mz order for html export
Browse files Browse the repository at this point in the history
  • Loading branch information
René Meier committed Aug 18, 2023
1 parent 90cc491 commit 8fc637f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ public String createPeakListForSpectrumViewer() {
// to String "mz,rel.int@mz,rel.int@..."
List<String> peaks = new ArrayList<>();
for (Triple<BigDecimal,BigDecimal,Integer> peak : PK_PEAK()) {
peaks.add(peak.getRight()+","+peak.getLeft());
peaks.add(peak.getLeft()+","+peak.getRight());
}
return String.join("@", peaks);
}
Expand Down

0 comments on commit 8fc637f

Please sign in to comment.