Skip to content

Commit 7916bd8

Browse files
committed
MCC webpart syntax fix
1 parent 1fb01f7 commit 7916bd8

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

mcc/src/client/GeneticsPlot/GeneticsPlot.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,22 @@ export function GeneticsPlot() {
126126
Over the past few years, the MCC team has been working on extracting, sequencing and analyzing DNA from
127127
marmosets across the participating breeding centers. While we have deposited the raw sequence data for
128128
578 marmosets on NCBI's Sequence Read Archive (SRA), we are excited to report that the MCC portal now
129-
houses a call set with single nucleotide variants and short indels for over 800 individuals.
130-
<p/>
131-
In addition to the information in the tabs below, you can use the MCC genome browser to view know variants and search by gene.
132-
<a href={ActionURL.buildURL('jbrowse', 'jbrowse', null, {session: jbrowseId})}>Click here to view Marmoset SNP data in the genome browser</a>
133-
<p/>
134-
The genetic analyses described here were performed by Karina Ray (ONPRC), Murillo Rodrigues (ONPRC), and
129+
houses a call set with single nucleotide variants and short indels for over 800 individuals. The genetic analyses
130+
described here were performed by Karina Ray (ONPRC), Murillo Rodrigues (ONPRC), and
135131
Ric del Rosario (Broad Institute). Please contact us at <a href="mailto:mcc@ohsu.edu">mcc@ohsu.edu</a> with any
136132
questions.
133+
<p/>
134+
{ jbrowseId ? (
135+
<>
136+
In addition to the information in the tabs below, you can use the MCC genome browser to view variants and/or search by gene:
137+
<p/>
138+
<ul>
139+
<li>
140+
<a style={{fontWeight: 'bold'}} href={ActionURL.buildURL('jbrowse', 'jbrowse', null, {session: jbrowseId})}>Click here to open the genome browser</a>
141+
</li>
142+
</ul>
143+
</>
144+
) : null }
137145
</div>
138146

139147
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>

mcc/src/client/entryPoints.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ module.exports = {
2424
name: 'geneticsPlot',
2525
title: 'Marmoset Genetics',
2626
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
27-
path: './src/client/GeneticsPlot'
27+
path: './src/client/GeneticsPlot',
2828
}, {
2929
name: 'geneticsPlotWebpart',
3030
title: 'Marmoset Genetics',
3131
permissionClasses: ['org.labkey.api.security.permissions.ReadPermission'],
32-
path: './src/client/GeneticsPlot/webpart'
32+
path: './src/client/GeneticsPlot/webpart',
33+
generateLib: true
3334
},{
3435
name: 'u24Dashboard',
3536
title: 'U24 Dashboard',

0 commit comments

Comments
 (0)