Commit 2410ecd3 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Fix nonexistent image metadata handling

parent 79608d02
......@@ -87,6 +87,10 @@
if (img.properties) {
img.metadata = {};
img.metadata.values = img.properties;
} else {
if (!img.metadata) {
img.metadata = {values:{}};
}
}
// fixes plankton regression (returns lowercase meta keys)
......
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