From df8575af9262a799b9181d2bec0d4f7c0fac5ad4 Mon Sep 17 00:00:00 2001 From: bioinsilico Date: Tue, 23 Jul 2024 15:02:48 -0700 Subject: [PATCH] Group carousel resolution single decimal point --- CHANGELOG.md | 4 ++++ package.json | 2 +- .../RcsbGroupView/RcsbGroupMembers/GroupMemberItem.tsx | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ebba77916..9fbe5be2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ [Semantic Versioning](https://semver.org/) +## [6.1.1] - 2024-07-23 +### Improvement +- Group carousel resolution single decimal point + ## [6.1.0] - 2024-05-16 ### New feature - New track builder `UnmodeledTrackBuilder` that merges unmodeled tracks from instances diff --git a/package.json b/package.json index d4fa343a3..4e089f143 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rcsb/rcsb-saguaro-app", - "version": "6.1.0", + "version": "6.1.1", "description": "RCSB 1D Saguaro Web App", "main": "build/app.js", "files": [ diff --git a/src/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.tsx b/src/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.tsx index 1b14a9cdc..bfebe0680 100644 --- a/src/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.tsx +++ b/src/RcsbGroupWeb/RcsbGroupView/RcsbGroupMembers/GroupMemberItem.tsx @@ -60,7 +60,9 @@ export class GroupMemberItem extends React.ComponentOrganism: {this.props.item.taxNames.join(", ")}
Experimental Method: {this.props.item.experimentalMethod ?? NA}
{ - (
Resolution: {this.props.item.resolution ? `${this.props.item.resolution} Å` : NA}
) + (
+ Resolution: {this.props.item.resolution ? `${formatRes(this.props.item.resolution)} Å` : NA} +
) } { this.props.item.molecularWeight ? (
Molecular Weight: {`${this.props.item.molecularWeight} kDa`}
) : null @@ -71,6 +73,10 @@ export class GroupMemberItem extends React.Component