From c453ec2a81e70f10386c9d54dfab732bfc470ff1 Mon Sep 17 00:00:00 2001 From: KaiLiCn Date: Sun, 4 Apr 2021 23:25:03 -0700 Subject: [PATCH] Fixed bug of DAT file import Term modification names in some DAT results are different. --- pom.xml | 2 +- src/main/java/PDVGUI/fileimport/DATFileImport.java | 4 ++-- src/main/java/PDVGUI/gui/PDVMainClass.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 47a3526..e2b76a2 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ PDV PDV jar - 1.7.1 + 1.7.2 PDV https://github.com/wenbostar/PDV An integrative proteomics viewer diff --git a/src/main/java/PDVGUI/fileimport/DATFileImport.java b/src/main/java/PDVGUI/fileimport/DATFileImport.java index abaea4b..f5b7d1a 100644 --- a/src/main/java/PDVGUI/fileimport/DATFileImport.java +++ b/src/main/java/PDVGUI/fileimport/DATFileImport.java @@ -393,7 +393,7 @@ private void addModification(Modification modification, Boolean isVariable){ Double singleMass = modification.getMass(); ArrayList residues = new ArrayList<>(); - if (location.contains("N-term")){ + if (location.contains("N-term") | location.contains("N_term")){ residues.add(location); String modName = singleModName + " of N-term"; @@ -408,7 +408,7 @@ private void addModification(Modification modification, Boolean isVariable){ fixedModAAAndName.put(location, modName); } - } else if (location.contains("C-term")){ + } else if (location.contains("C-term") | location.contains("C_term")){ residues.add(location); String modName = singleModName + " of C-term"; diff --git a/src/main/java/PDVGUI/gui/PDVMainClass.java b/src/main/java/PDVGUI/gui/PDVMainClass.java index 5f4e499..8472969 100644 --- a/src/main/java/PDVGUI/gui/PDVMainClass.java +++ b/src/main/java/PDVGUI/gui/PDVMainClass.java @@ -258,7 +258,7 @@ public class PDVMainClass extends JFrame { /** * Version */ - private static final String VERSION = "1.7.1"; + private static final String VERSION = "1.7.2"; /** * Main class