cleanup, whitespace, logs

This commit is contained in:
Colin Megill
2018-02-21 14:44:34 -08:00
parent 11f6ee7799
commit add08c4764
4 changed files with 6 additions and 4 deletions

View File

@@ -43,7 +43,6 @@ class App extends React.Component {
first request includes query straight off the url bar for now
*/
this.props.dispatch(actions.requestCells(window.location.search))
// this.props.dispatch(actions.___hardcoded___requestGeneExpressionCountsPOST(window.location.search))
}
render() {

View File

@@ -104,9 +104,7 @@ const updateCellSelectionMiddleware = (store) => {
return cell.e[indexOfGene]
})
console.log('middle', action, expressionMap, minExpressionCell)
// console.log('middle', action, expressionMap, minExpressionCell)
colorScale = d3.scaleLinear()
.domain([minExpressionCell.e[indexOfGene], maxExpressionCell.e[indexOfGene]])

View File

@@ -190,6 +190,8 @@ const updateCellSelectionMiddleware = (store) => {
})
}
let modifiedAction = Object.assign({}, action, {
newSelection,
newCategoricalAsBooleansMap,

View File

@@ -86,6 +86,9 @@ const Controls = (state = {
return Object.assign({}, state, {
opacityForDeselectedCells: action.data,
})
/*******************************
Categorical metadata
*******************************/
case "categorical metadata filter select":
return Object.assign({}, state, {
categoricalAsBooleansMap: action.newCategoricalAsBooleansMap, /* this comes from middleware */