-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
import dash | ||
from dash import dcc | ||
from dash import html, callback | ||
import dash_bootstrap_components as dbc | ||
from dash.dependencies import Input, Output | ||
from flask import Flask | ||
|
||
server = Flask(__name__) | ||
|
||
app = dash.Dash(__name__,server=server, use_pages=True, external_stylesheets=[dbc.themes.BOOTSTRAP],suppress_callback_exceptions=True, | ||
meta_tags=[{'name': 'viewport', 'content': 'width=device-width, initial-scale=1.0'}]) | ||
|
||
|
||
|
||
app.title='Datacenter | Bonebase' | ||
|
||
Navbar=[ | ||
dbc.NavItem(dbc.NavLink("Home", href="https://bonebase.lab.uconn.edu/",style={'color':'white'})), | ||
dbc.NavItem(dbc.NavLink('Datacenter Home', href="/",style={'color':'white'})), | ||
dbc.NavItem(dbc.NavLink('Project1', href="/Project1",style={'color':'white'})), | ||
dbc.NavItem(dbc.NavLink('Project2', href="/Project2",style={'color':'white'})), | ||
dbc.NavItem(dbc.NavLink("Project Information", href="https://bonebase.lab.uconn.edu/projects-data/",style={'color':'white'})), | ||
dbc.NavItem(dbc.NavLink("Data Interpretation", href="https://bonebase.lab.uconn.edu/projects-data/interpretation-of-data/",style={'color':'white'})), | ||
dbc.NavItem(dbc.NavLink("Contact Us", href="https://bonebase.lab.uconn.edu/contact_us/",style={'color':'white'})), | ||
] | ||
|
||
|
||
Nav1=dbc.Nav(Navbar,pills=True, | ||
style={'text-align':'center','fontSize': 15,'border-color':"white", 'font-weight':'normal','font-family':'arial'}), | ||
|
||
|
||
|
||
app.layout = html.Div([ dbc.Container([ | ||
|
||
dbc.Row([ | ||
dbc.Col([ | ||
|
||
html.A( | ||
dbc.Row([ | ||
dbc.Col([ | ||
|
||
(html.Img(src='/assets/uconn.png', | ||
style={'height': '7.5%', 'margin-top':20}, | ||
) ) | ||
]) | ||
|
||
], style={'background-color':'#000e2f', | ||
'padding-left':1000, 'margin-left':-1000, 'margin-right':-500,'padding-right':0,'height':60} | ||
),href="https://health.uconn.edu/"), | ||
html.A( | ||
dbc.Row([ | ||
dbc.Col([ | ||
html.Br(), | ||
html.P('CENTER FOR REGENERATIVE MEDICINE AND SKELETAL DEVELOPMENT', | ||
style={'textAlign': 'left', 'fontFamily': 'Segoe UI Emoji', 'color':'#989898', 'font-size':11, | ||
'letter-spacing':2, 'line-height':1,'margin-top':10}), | ||
|
||
]), | ||
], style={'background-color':'#04305E','padding-left':1000, 'margin-left':-1000, 'margin-right':-500, | ||
'padding-right':-500,'height':50,'border-top':1,'border-top-style': 'solid','border-top-color':'#989898'} | ||
),href='https://dentalmedicine.uconn.edu/divisions/center-for-regenerative-medicine-and-skeletal-development/',className="text-decoration-none" | ||
), | ||
html.A( | ||
dbc.Row([ | ||
dbc.Col([ | ||
|
||
html.H6('Bonebase', style={'textAlign': 'left', 'fontFamily': "Helvetica", 'color': 'white', | ||
"font-size":20, "font-weight":'550','line-height':15,'margin-top':0}), | ||
],style={'justify':'center'}) | ||
], style={'background-color':'#04305E','padding-left':1000, 'margin-left':-1000, 'margin-right':-500, | ||
'padding-right':-500,'height':25} | ||
), href='https://bonebase.lab.uconn.edu/',className="text-decoration-none"), | ||
|
||
dbc.Row([ | ||
dbc.Col([ | ||
|
||
html.H6('Welcome to the Bonebase Datacenter', style={'textAlign': 'left', 'fontFamily': "Verdana", 'color': 'white', | ||
"font-size":18, "font-weight":'normal','line-height':15,'margin-top':5}), | ||
]) | ||
], style={'background-color':'#04305E','padding-left':1000, 'margin-left':-1000, 'margin-right':-500, | ||
'padding-right':-500,'height':30}, justify='end', | ||
), | ||
|
||
dbc.Row([ | ||
dbc.Col([ html.Div(Nav1) | ||
|
||
|
||
# dbc.Nav( children=[ | ||
# dbc.NavLink("Home", href="https://bonebase.lab.uconn.edu/",style={'color':'white'}), | ||
# dbc.NavLink('Datacenter Home', href="/",style={'color':'white'}), | ||
# dbc.NavLink('Project1', href="/Project1",style={'color':'white'}), | ||
# dbc.NavLink('Project2', href="/Project2",style={'color':'white'}), | ||
# dbc.NavLink("Project Information", href="https://bonebase.lab.uconn.edu/projects-data/",style={'color':'white'}), | ||
# dbc.NavLink("Data Interpretation", href="https://bonebase.lab.uconn.edu/projects-data/interpretation-of-data/",style={'color':'white'}), | ||
# dbc.NavLink("Contact Us", href="https://bonebase.lab.uconn.edu/contact_us/",style={'color':'white'}), | ||
# ], pills=True,style={'text-align':'center','fontSize': 15,'border-color':"white", | ||
# 'font-weight':'normal','font-family':'arial'}), | ||
|
||
|
||
]) | ||
], style={'background-color':'#04305E','padding-left':1000, 'margin-left':-1000, 'margin-right':-500, | ||
'padding-right':0,'height':40}, justify='end', | ||
), | ||
|
||
|
||
# content of each page | ||
dbc.Row([ | ||
html.Div(children=[ | ||
dash.page_container] | ||
), | ||
|
||
# dcc.Location(id='url', refresh=True), | ||
|
||
],justify='center'), | ||
|
||
|
||
],md=10), | ||
],justify='center') #style={'overflow-x':'hidden'} | ||
|
||
]) | ||
]) | ||
|
||
if __name__ == '__main__': | ||
app.run(debug=True) | ||
#app.run_server(debug=True) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
BMD,Ct.Ar,Ct.Ar/Tt.Ar,Ct.Po,Ct.Th,Ec.Pm,I_max,I_max/C_max,I_min,I_min/C_min,J,Length,Ma.Ar,Po.V,Ps.Pm,SampNo,Sample Name,TMD,Tt.Ar,exp_name,gene_symbol | ||
1210.3024875,0.637165,0.4269910873261256,0.002322500000000005,0.15842499999999998,3.373911927980977,0.16753,0.19496624999999998,0.08751874999999999,0.1468075,0.25505125,14.33,0.8545887499999999,0.001488749999999997,4.375630814069794,,Average ,1304.6670875,1.4932425,CCC_E01.xlsx,CCC_E01.xlsx | ||
1213.6325000000002,0.64846875,0.42073006250575695,0.0024100000000000094,0.158825,3.4296079753650295,0.1754175,0.20194125,0.09316125,0.15228875,0.26857875000000003,14.61,0.8898662499999999,0.0015700000000000297,4.431935323218658,,Average ,1306.705225,1.539905,CCC_E03.xlsx,CCC_E03.xlsx | ||
1240.7543,0.69239,0.4350234954855826,0.0027162500000000173,0.16865,3.450918166829225,0.19486,0.22062625000000002,0.10083624999999999,0.16356375,0.29569749999999995,14.546249999999999,0.9017912499999999,0.0018900000000000028,4.515832434601428,,Average ,1336.5392124999998,1.5960712499999998,CCC_E04.xlsx,CCC_E04.xlsx | ||
1214.1862375,0.6830075,0.4250691040077561,0.0021800000000000014,0.1633125,3.4982388729749028,0.19218250000000003,0.2156925,0.10219125000000001,0.16583124999999999,0.29437499999999994,14.4525,0.9230324999999999,0.0014875000000000166,4.528910837527271,,Average ,1304.3782125,1.6075274999999998,CCC_E05.xlsx,CCC_E05.xlsx | ||
1223.1652750000003,0.6870225,0.4320734955600881,0.0021987499999999993,0.166375,3.4562516740447125,0.190115,0.21429499999999999,0.1010775,0.16377499999999998,0.29119249999999997,14.55857142857143,0.90236,0.0015125,4.505903389742991,,Average ,1314.4887124999998,1.5908950000000002,CCC_E06.xlsx,CCC_E06.xlsx |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
BMD,Ct.Ar,Ct.Ar/Tt.Ar,Ct.Po,Ct.Th,Ec.Pm,I_max,I_max/C_max,I_min,I_min/C_min,J,Length,Ma.Ar,Po.V,Ps.Pm,SampNo,Sample Name,TMD,Tt.Ar,exp_name,gene_symbol | ||
1224.3689125,0.72356,0.43477319854853475,0.0021049999999999958,0.1694625,3.580062051369611,0.22263750000000002,0.23391125,0.10418,0.174425,0.326815,14.551428571428573,0.940015,0.0015237500000000181,4.650303056096617,,Average ,1311.4956499999998,1.66509875,CCC_E01.xlsx,CCC_E01.xlsx | ||
1232.7221124999999,0.7755162500000001,0.433324339631822,0.002532499999999993,0.178125,3.6916593889364604,0.25155125,0.25633625,0.1267075,0.19852375,0.37826,14.72875,1.00963375,0.001967499999999997,4.824886586289992,,Average ,1321.3654625,1.7871175,CCC_E03.xlsx,CCC_E03.xlsx | ||
1217.6446125,0.75971125,0.41997962282029744,0.0024487499999999857,0.17074999999999999,3.7626104427923996,0.25548125,0.2573875,0.12235,0.19300375,0.3778325,14.651428571428571,1.0470762500000002,0.0018500000000000183,4.849914075143388,,Average ,1306.4163375,1.8086375000000001,CCC_E04.xlsx,CCC_E04.xlsx | ||
1218.2143500000002,0.7950349999999999,0.42211547406701316,0.0029462499999999975,0.17357499999999998,3.8733423220704446,0.28139375,0.27639125,0.13370749999999998,0.20913624999999997,0.41509874999999996,14.69125,1.08746,0.002423750000000016,4.979843883003111,,Average ,1305.4213625,1.8849187499999998,CCC_E05.xlsx,CCC_E05.xlsx | ||
1202.775775,0.7607475,0.42558526648655565,0.002221249999999994,0.17234999999999998,3.73456492133237,0.25026625,0.25511875,0.12087875,0.19334250000000003,0.37114500000000006,14.8,1.0246487499999999,0.001700000000000007,4.834719557394036,,Average ,1285.1040874999999,1.7870962499999998,CCC_E06.xlsx,CCC_E06.xlsx |