Skip to content

Commit

Permalink
renamed help sections
Browse files Browse the repository at this point in the history
  • Loading branch information
prabh-t committed Oct 1, 2024
1 parent a3d335d commit 2b69d4c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### <a id="build-logic"></a>Build Logic
#### <a id="genomic-assembly-detection"></a>Genomic Assembly Detection
The steps in the build determination procedure are as follows:

- Extract all of the genomic coordinates from the input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### <a id="search-variants"></a>Search Variants
#### <a id="submit-variants"></a>Submit Variants

![ProtVar Home Page](images/home_page.png)
- **A** ProtVar retrieves annotations and predictions for human [missense](#further-info:missense) variants.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### <a id="supported-format"></a>Supported Format
#### <a id="supported-variant-format"></a>Supported Variant Format

ProtVar supports the following input formats:

Expand Down
6 changes: 3 additions & 3 deletions src/constants/Help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ interface HelpFile {

// List of help files
export const HELP_FILES: HelpFile[] = [
{ name: 'search-variants', md: true, title: 'Search Variants' },
{ name: 'supported-format', md: true, title: 'Supported Format' },
{ name: 'build-logic', md: true, title: 'Build Logic' },
{ name: 'submit-variants', md: true, title: 'Submit Variants' },
{ name: 'supported-variant-format', md: true, title: 'Supported Variant Format' },
{ name: 'genomic-assembly-detection', md: true, title: 'Genomic Assembly Detection' },
{ name: 'search-history', md: false, title: 'Search History' }, // React component
{ name: 'result-page', md: true, title: 'Result Page' },
{ name: 'function-annotations', md: true, title: 'Function Annotations' },
Expand Down
6 changes: 3 additions & 3 deletions src/ui/pages/home/SearchVariant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const SearchVariant = () => {
<span className="search-card-header">
<p>
<b>Search single nucleotide variants</b> - paste your variants below or
upload your file <HelpButton title="" content={<HelpContent name="search-variants" />} />
upload your file <HelpButton title="" content={<HelpContent name="submit-variants" />} />
</p>
</span>
</section>
Expand All @@ -180,7 +180,7 @@ const SearchVariant = () => {
/>
<div className="search-card-selection">
<div>
<HelpButton title="Supported format" content={<HelpContent name="supported-format" />} />
<HelpButton title="Supported variant format" content={<HelpContent name="supported-variant-format" />} />
<br/>
<b>Click buttons below to try examples</b><br/>
<div className="examples-container">
Expand Down Expand Up @@ -222,7 +222,7 @@ const SearchVariant = () => {
<div className="assembly">
<span
title="Genome assembly GRCh37 to GRCh38 conversion for genomic inputs (VCF, HGVS g., gnomAD and any other custom genomic formats).">
<b>Reference Genome Assembly</b> <HelpButton title="" content={<HelpContent name="build-logic" />} />
<b>Reference Genome Assembly</b> <HelpButton title="" content={<HelpContent name="genomic-assembly-detection" />} />
</span>
<div className="assembly-radio-check">
<label>
Expand Down

0 comments on commit 2b69d4c

Please sign in to comment.