mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-19 19:08:11 +08:00
cleanup, whitespace, logs
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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]])
|
||||
|
||||
@@ -190,6 +190,8 @@ const updateCellSelectionMiddleware = (store) => {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
let modifiedAction = Object.assign({}, action, {
|
||||
newSelection,
|
||||
newCategoricalAsBooleansMap,
|
||||
|
||||
3
src/reducers/controls.js
vendored
3
src/reducers/controls.js
vendored
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user