Skip to content
Snippets Groups Projects
Commit 12bfd034 authored by brinn's avatar brinn
Browse files

Accept XXX_YYY_16x24 as well as XXX_YYY_16X24 as plate geometry string.

SVN: 26222
parent 6e2463ce
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,11 @@ public class PlateDimensionParser ...@@ -80,7 +80,11 @@ public class PlateDimensionParser
{ {
final String[] tokens = plateGeometryString.split("_"); final String[] tokens = plateGeometryString.split("_");
final String sizeToken = tokens[tokens.length - 1]; final String sizeToken = tokens[tokens.length - 1];
final String[] dims = sizeToken.split("X"); String[] dims = sizeToken.split("X");
if (dims.length != 2)
{
dims = sizeToken.split("x");
}
if (dims.length != 2) if (dims.length != 2)
{ {
return null; return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment