Commit a82160a4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

deal with whitespaces in colors

parent b769934b
......@@ -325,7 +325,7 @@ public abstract class V16_0_0_20200930_2__generic_data_overlay_entry_data extend
result.add(extractGenericEntry(entry, columns, line.split("\t", -1)));
} catch (Exception e) {
logger.error("Problem with creating entry. Line:\n" + line + "\nColumns: "
+ StringUtils.join(Arrays.asList(columns), "\t"));
+ StringUtils.join(Arrays.asList(columns), "\t"), e);
}
}
line = br.readLine();
......@@ -425,7 +425,7 @@ public abstract class V16_0_0_20200930_2__generic_data_overlay_entry_data extend
}
break;
case "color":
entry.setColor(colorParser.parse(value));
entry.setColor(colorParser.parse(value.trim()));
break;
case "references":
case "identifier":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment