beast2
beast2 copied to clipboard
XMLProducer.toXML(Object beastObject, Collection<BEASTInterface> others) generates superfluous new lines
Adding a line like:
xml = xml.replaceAll("\\n\\s*\\n", "\n");
directly after
xml = findPlates(xml2)
should fix it.