diff --git a/backlog.md b/backlog.md index 2f1e759d..7c536bf8 100644 --- a/backlog.md +++ b/backlog.md @@ -19,7 +19,8 @@ For now, I'm using a quick Java utility to process the backlog. Here are some co * Identify interesting germline for demo * Keyframes in DNA Browser -+ Start DNA browser in random mode in the middle of movement ++ Fix position of creatures relative to speckled area ++ Start DNA browser in random mode in the middle of movement ##Database Persistence diff --git a/src/main/java/org/nusco/narjillos/serializer/Persistence.java b/src/main/java/org/nusco/narjillos/serializer/Persistence.java index b8fba2f3..5b6ad48e 100644 --- a/src/main/java/org/nusco/narjillos/serializer/Persistence.java +++ b/src/main/java/org/nusco/narjillos/serializer/Persistence.java @@ -121,7 +121,7 @@ private static String readExperimentData(String fileName) { private static void checkVersion(String fileName) { String fileNameWithoutExtension = stripExtension(fileName); - if (!fileNameWithoutExtension.matches("\\d+\\-\\d+\\.\\d+.\\d+")) { + if (!fileNameWithoutExtension.matches("\\d+\\-\\d+\\.\\d+.\\d+\\w*")) { System.err.println("WARNING: This experiment doesn't contain a version in the filename. " + "I cannot check that it was generated by the same version of Narjillos that you're using now."); return;