Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AG-1398 Fix for bug with pValues not showing when value is zero #1293

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

sagely1
Copy link
Contributor

@sagely1 sagely1 commented Mar 20, 2024

No description provided.

@@ -15,11 +15,11 @@
<div class="gct-details-panel-data">
<div>
<div>{{ data.valueLabel }}</div>
<div *ngIf="data.pValue">P-Value</div>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In cases when this variable was zero, the div and value below would not show.

@@ -96,6 +96,9 @@ export class GeneComparisonToolDetailsPanelComponent {
}

getSignificantFigures(n: any, b: any) {
const emdash = '&#8212;'; // Shift+Option+Hyphen
Copy link
Contributor Author

@sagely1 sagely1 Mar 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emdash is being used to visually expose missing data.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A future update will move this into a custom pipe

@sagely1 sagely1 requested a review from JessterB March 20, 2024 18:12
Copy link
Contributor

@JessterB JessterB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@JessterB JessterB merged commit 7e7231b into Sage-Bionetworks:develop Mar 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants