Skip to content

Commit

Permalink
update equality operator
Browse files Browse the repository at this point in the history
  • Loading branch information
HaneenT committed Mar 18, 2024
1 parent 68c2b06 commit 44901d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ExpressionTables/ExpressionXCellType.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class ExpressionXCellType extends Component {
<Row xs='12' className='mt-5'>
<Col xs='11'>
<h5><span>{this.props.gene}</span> Expression Comparison across Cell Clusters in {formatTissueType(this.props.tissueType)}</h5>
<h6>NS = Not Significant { (this.props.dataType == "sn" && this.props.tissueType == "dmr") && "| - = Not Calculated" }</h6>
<h6>NS = Not Significant { (this.props.dataType === "sn" && this.props.tissueType === "dmr") && "| - = Not Calculated" }</h6>
</Col>
<Col xs='1' className='text-end'>
<CSVLink
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const formatNumberToPrecision = (number, precision, keepAsInt = false, da
} else if (number === 0) {
return 0
} else {
if (dataType == "sn" && tissueType == "dmr") {
if (dataType === "sn" && tissueType === "dmr") {
return "-"
}
return "NS"
Expand Down

0 comments on commit 44901d2

Please sign in to comment.