Skip to content

Commit e7abfbd

Browse files
committed
Update to v2 internal API
1 parent 0b89b04 commit e7abfbd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎gocam_viz/views.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

‎protein_feature_view/templates/protein_feature_view/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112

113113
window.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
})

0 commit comments

Comments
 (0)