File tree Expand file tree Collapse file tree
protein_feature_view/templates/protein_feature_view Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def index(request):
99 else :
1010 graph_height = 650
1111
12- gocam_viz_html = f"<wc-gocam-viz style='--button-background: #2598c5; --button-background-hover: #2598c5; -- --button-color: #fff; --panel-header-border-width: 1px; --panel-header-border-color: #ddd; --border-color: #d1c4e9; --panel-header-padding: 0.2em; --panel-header-background: #f2f2f2; --graph-height: { graph_height } px;' id='gocam-1' api-url='/api/v1 /dataset/latest/data/go-cam/%ID' gocam-id='{ gocam_id } '></wc-gocam-viz>"
12+ gocam_viz_html = f"<wc-gocam-viz style='--button-background: #2598c5; --button-background-hover: #2598c5; -- --button-color: #fff; --panel-header-border-width: 1px; --panel-header-border-color: #ddd; --border-color: #d1c4e9; --panel-header-padding: 0.2em; --panel-header-background: #f2f2f2; --graph-height: { graph_height } px;' id='gocam-1' api-url='/api/v2 /dataset/latest/data/go-cam/%ID' gocam-id='{ gocam_id } '></wc-gocam-viz>"
1313
1414 context = {
1515# 'full_or_widget': full_or_widget,
Original file line number Diff line number Diff line change 112112
113113window . onload = ( event ) => {
114114
115- fetch ( "/api/v1 /dataset/latest/protein_features/" + scope + "/" + geneUniquename )
115+ fetch ( "/api/v2 /dataset/latest/protein_features/" + scope + "/" + geneUniquename )
116116 . then ( ( response ) => {
117117 return response . json ( ) ;
118118 } )
You can’t perform that action at this time.
0 commit comments