mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-06 07:48: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
|
first request includes query straight off the url bar for now
|
||||||
*/
|
*/
|
||||||
this.props.dispatch(actions.requestCells(window.location.search))
|
this.props.dispatch(actions.requestCells(window.location.search))
|
||||||
// this.props.dispatch(actions.___hardcoded___requestGeneExpressionCountsPOST(window.location.search))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|||||||
@@ -104,9 +104,7 @@ const updateCellSelectionMiddleware = (store) => {
|
|||||||
return cell.e[indexOfGene]
|
return cell.e[indexOfGene]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// console.log('middle', action, expressionMap, minExpressionCell)
|
||||||
console.log('middle', action, expressionMap, minExpressionCell)
|
|
||||||
|
|
||||||
|
|
||||||
colorScale = d3.scaleLinear()
|
colorScale = d3.scaleLinear()
|
||||||
.domain([minExpressionCell.e[indexOfGene], maxExpressionCell.e[indexOfGene]])
|
.domain([minExpressionCell.e[indexOfGene], maxExpressionCell.e[indexOfGene]])
|
||||||
|
|||||||
@@ -190,6 +190,8 @@ const updateCellSelectionMiddleware = (store) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let modifiedAction = Object.assign({}, action, {
|
let modifiedAction = Object.assign({}, action, {
|
||||||
newSelection,
|
newSelection,
|
||||||
newCategoricalAsBooleansMap,
|
newCategoricalAsBooleansMap,
|
||||||
|
|||||||
Vendored
+3
@@ -86,6 +86,9 @@ const Controls = (state = {
|
|||||||
return Object.assign({}, state, {
|
return Object.assign({}, state, {
|
||||||
opacityForDeselectedCells: action.data,
|
opacityForDeselectedCells: action.data,
|
||||||
})
|
})
|
||||||
|
/*******************************
|
||||||
|
Categorical metadata
|
||||||
|
*******************************/
|
||||||
case "categorical metadata filter select":
|
case "categorical metadata filter select":
|
||||||
return Object.assign({}, state, {
|
return Object.assign({}, state, {
|
||||||
categoricalAsBooleansMap: action.newCategoricalAsBooleansMap, /* this comes from middleware */
|
categoricalAsBooleansMap: action.newCategoricalAsBooleansMap, /* this comes from middleware */
|
||||||
|
|||||||
Reference in New Issue
Block a user