mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 06:28:11 +08:00
Merge remote-tracking branch 'origin/colinmegill/geneset-prototype' into colinmegill/geneset-prototype
This commit is contained in:
@@ -45,7 +45,7 @@ const GeneSets = (
|
||||
*/
|
||||
case "geneset: create": {
|
||||
const { name, genes } = action;
|
||||
if (state.genesets.has(name) !== undefined)
|
||||
if (state.genesets.has(name))
|
||||
throw new Error("geneset: create -- name already defined.");
|
||||
|
||||
const genesets = new Map(state.genesets); // clone
|
||||
|
||||
Reference in New Issue
Block a user