Jalview-JS/JAL-3253-applet newick Regex coding error fix JAL-3271
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Wed, 22 May 2019 13:15:03 +0000 (08:15 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Thu, 23 May 2019 01:05:06 +0000 (20:05 -0500)
src/jalview/io/NewickFile.java
src/jalview/project/Jalview2XML.java

index 5a98605..7596db4 100755 (executable)
@@ -165,7 +165,7 @@ public class NewickFile extends FileParse
         return null;
       }
       return codePerl == null ? Platform.newRegex(code, code2)
-              : Platform.newRegexPerl(code2);
+              : Platform.newRegexPerl(codePerl);
     }
     return REGEX[id];
   }
index ab4a3eb..4ad61d9 100644 (file)
@@ -2862,6 +2862,8 @@ public class Jalview2XML
         // The question here is what to do with the two
         // .xml files in the jvp file. They are identical?
         // && name.indexOf(" Dataset for ") < 0 // BH 2019.05.21
+        // we need to talk about how to avoid the full duplication of
+        // reading these.
         )
         {
           JAXBContext jc = JAXBContext