Skip to content
Snippets Groups Projects
Commit d04da2a3 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

color parameter is not ignored in gene variants

parent b5b17383
No related branches found
No related tags found
2 merge requests!805Merge 13.1.0 beta.1,!801Resolve "Overlay data columns - review"
......@@ -22,6 +22,7 @@ minerva (12.3.1~beta.1) unstable; urgency=low
* Bug fix: when changing data in edit user dialog there was a need to click
close button twice (#818)
* Bug fix: empty type for data overlay is allowed (#827)
* Bug fix: genetic variants data overlay was ignoring color parameter (#827)
minerva (13.1.0~beta.0) unstable; urgency=low
* Feature: annotators are more flexible - you can define set of input and
......
......@@ -435,7 +435,7 @@ public class ColorSchemaReader {
}
}
for (ColorSchema colorSchema : schemasByName.values()) {
if (colorSchema instanceof GeneVariationColorSchema) {
if (colorSchema instanceof GeneVariationColorSchema && colorSchema.getColor() == null) {
colorSchema.setColor(getGeneVariantsColor(((GeneVariationColorSchema) colorSchema).getGeneVariations()));
}
}
......@@ -446,7 +446,7 @@ public class ColorSchemaReader {
* Gets color that should be assigned to {@link GeneVariationColorSchema}.
*
* @param geneVariations
* list of viariants
* list of variants
* @return {@link Color} that should be assigned to
* {@link GeneVariationColorSchema}
*/
......
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