Skip to content

Commit

Permalink
Bunp to 1.2.1
Browse files Browse the repository at this point in the history
Fixed a spectrum file import bug for DDA+ search.
  • Loading branch information
KaiLiCn committed Jul 2, 2024
1 parent d96e976 commit 7e9e815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<packaging>jar</packaging>
<groupId>org.example</groupId>
<artifactId>FP-PDV</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/GUI/utils/ImportData.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ private void processManifestFile(File mainFestFile) throws IOException {
spectrumFileMap.put(fileArr[fileArr.length-1].split("\\.raw")[0], lineSplit[0].replace(".raw", "_calibrated.mzML"));
}

} else if (lineSplit[0].endsWith(".d") && Objects.equals(lineSplit[3], "DDA")){
} else if (lineSplit[0].endsWith(".d") && (Objects.equals(lineSplit[3], "DDA")|| Objects.equals(lineSplit[3], "DDA+"))){
String[] fileArr = lineSplit[0].split(pattern);
if (new File(lineSplit[0].replace(".d", "_uncalibrated.mzML")).exists()){
spectrumFileMap.put(fileArr[fileArr.length-1].split("\\.d")[0], lineSplit[0].replace(".d", "_uncalibrated.mzML"));
Expand Down

0 comments on commit 7e9e815

Please sign in to comment.