Skip to content

Commit

Permalink
linting, adding more information to tooltips, polishing language
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Mar 19, 2020
1 parent 3d435ba commit 264d961
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
@@ -1,6 +1,6 @@
const TAXONOMIC_PROXIMITY_TOOLTIP =
"Taxonomic distance between the queried organism and the observed organism.";
"Number of ranks in the NCBI Taxonomy tree between the queried organism and its latest common ancestor with each measured organism.";
const CHEMICAL_SIMILARITY_TOOLTIP =
"Tanimoto distance between the structure of the queried metabolite and the structure of each observed metabolite.";
"Tanimoto coefficient between the molecular structure of the queried metabolite and the structure of each measured metabolite. Identical molecules have coefficients of 1. Completely dissimilar molecules have coefficients of 0. Molecules with coefficients > 0.85 are often considered to be similar.";

export { TAXONOMIC_PROXIMITY_TOOLTIP, CHEMICAL_SIMILARITY_TOOLTIP };
Expand Up @@ -56,8 +56,8 @@ class ConcentrationDataTable extends Component {
: { source: "ymdb", id: met.ymdb_id }
};
if (rankings !== null) {
conc["taxonomicProximity"] = rankings[met.taxon_distance];
}
conc["taxonomicProximity"] = rankings[met.taxon_distance];
}
if (conc.growthPhase && conc.growthPhase.indexOf(" phase") >= 0) {
conc.growthPhase = conc.growthPhase.split(" phase")[0];
}
Expand Down
Expand Up @@ -20,7 +20,7 @@ class MetadataSection extends Component {
if (uniprot_data.length > 0) {
response = uniprot_data[0].comments[0].text[0].value;
} else {
response = "No description found";
response = "No description available.";
}
return response;
}
Expand Down

0 comments on commit 264d961

Please sign in to comment.