Skip to content

Commit b786ebe

Browse files
committed
Normalize value for 'NoStim'
1 parent f224fb5 commit b786ebe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

singlecell/resources/queries/singlecell/samples.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ function beforeUpsert(row, oldRow, errors){
2020
else if (['IE-1|IE-2', 'IE1/IE2', 'IE-1/IE-2', 'IE1IE2', 'CMV IE-2 Pool', 'CMV IE2 Pool'].indexOf(row.stim) !== -1){
2121
row.stim = 'IE-1/IE-2';
2222
}
23+
else if (['No stim', 'No Stim'].indexOf(row.stim) !== -1){
24+
row.stim = 'NoStim';
25+
}
2326

2427
var lookupFields = ['stim'];
2528
for (var i=0;i<lookupFields.length;i++){

0 commit comments

Comments
 (0)