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