Skip to content

Commit

Permalink
Bump to 1.2.4
Browse files Browse the repository at this point in the history
Fixed diaTracer generated mzML import bug
  • Loading branch information
KaiLiCn committed Sep 10, 2024
1 parent a5cbf6d commit a0363ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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.3</version>
<version>1.2.4</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/GUI/utils/ImportData.java
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ private void processManifestFile(File mainFestFile) throws IOException {
}
} else if (lineSplit[0].endsWith(".d") && Objects.equals(lineSplit[3], "DIA")){
String[] fileArr = lineSplit[0].split(pattern);
if (new File(lineSplit[0].replace(".d", "_centric_calibrated.mzML")).exists()){
spectrumFileMap.put(fileArr[fileArr.length-1].split("\\.d")[0]+"_centric", lineSplit[0].replace(".d", "_centric_calibrated.mzML"));
if (new File(lineSplit[0].replace(".d", "_diatracer_calibrated.mzML")).exists()){
spectrumFileMap.put(fileArr[fileArr.length-1].split("\\.d")[0]+"_diatracer", lineSplit[0].replace(".d", "_diatracer_calibrated.mzML"));
} else {
spectrumFileMap.put(fileArr[fileArr.length-1].split("\\.d")[0]+"_centric", lineSplit[0].replace(".d", "_centric.mzML"));
spectrumFileMap.put(fileArr[fileArr.length-1].split("\\.d")[0]+"_diatracer", lineSplit[0].replace(".d", "_diatracer.mzML"));
}
}

Expand Down

0 comments on commit a0363ae

Please sign in to comment.