From a0363ae272cbd1b99f96d379ad9cef1c3272dd7b Mon Sep 17 00:00:00 2001 From: KaiLiCn Date: Tue, 10 Sep 2024 11:09:58 -0400 Subject: [PATCH] Bump to 1.2.4 Fixed diaTracer generated mzML import bug --- pom.xml | 2 +- src/main/java/GUI/utils/ImportData.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 01ecdec..aa4539a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ jar org.example FP-PDV - 1.2.3 + 1.2.4 8 diff --git a/src/main/java/GUI/utils/ImportData.java b/src/main/java/GUI/utils/ImportData.java index 6f8ad8d..018b93a 100644 --- a/src/main/java/GUI/utils/ImportData.java +++ b/src/main/java/GUI/utils/ImportData.java @@ -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")); } }