Skip to content
Snippets Groups Projects
Commit 537c3902 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-55: fixes after changes of properties map to <String, Serializable>

parent b901566b
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -501,7 +501,7 @@ public class WellContentDialog extends ImageDialog ...@@ -501,7 +501,7 @@ public class WellContentDialog extends ImageDialog
{ {
if (prop.getPropertyType().getCode().equalsIgnoreCase(ScreeningConstants.GENE_SYMBOLS)) if (prop.getPropertyType().getCode().equalsIgnoreCase(ScreeningConstants.GENE_SYMBOLS))
{ {
return prop.getValue(); return prop.tryGetAsString();
} }
} }
return null; return null;
......
...@@ -196,7 +196,7 @@ class LibraryRegistrationTask implements IASyncAction ...@@ -196,7 +196,7 @@ class LibraryRegistrationTask implements IASyncAction
return; return;
} }
String existingGene = existingGeneProp.getValue(); String existingGene = existingGeneProp.tryGetAsString();
IEntityProperty newGeneProp = IEntityProperty newGeneProp =
EntityHelper.tryFindProperty(newMaterial.getProperties(), EntityHelper.tryFindProperty(newMaterial.getProperties(),
...@@ -207,7 +207,7 @@ class LibraryRegistrationTask implements IASyncAction ...@@ -207,7 +207,7 @@ class LibraryRegistrationTask implements IASyncAction
return; return;
} }
String mergedGeneSymbols = mergeGeneSymbols(existingGene, newGeneProp.getValue()); String mergedGeneSymbols = mergeGeneSymbols(existingGene, newGeneProp.tryGetAsString());
newGeneProp.setValue(mergedGeneSymbols); newGeneProp.setValue(mergedGeneSymbols);
} }
......
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