user defined gene

This commit is contained in:
Colin Megill
2018-10-15 11:20:52 -07:00
parent 2b77f8146b
commit 8e08534d42
3 changed files with 55 additions and 16 deletions
@@ -54,7 +54,7 @@ class GeneExpression extends React.Component {
} else if (!_.find(world.varAnnotations, { name: gene })) {
console.log("That doesn't appear to be a valid gene name.");
} else {
dispatch(actions.requestGeneExpressionCountsPOST([gene]));
dispatch(actions.requestUserDefinedGene(gene));
dispatch({
type: "user defined gene",
data: gene