Commit 1aa7bf07 authored by Lukas Pravda's avatar Lukas Pravda
Browse files

improve testing instance

parent a1ae691b
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
if (result.bmid === undefined) { if (result.bmid === undefined) {
result['query'] = result['query'] =
`https://wwwdev.ebi.ac.uk/pdbe/coordinates/${result.pdbid}/ligandInteraction?&authAsymId=$${result.chain}&authSeqNumber=${result.resid}&radius=5&dataSource=hydrogens` `https://wwwdev.ebi.ac.uk/pdbe/model-server/v1/${result.pdbid}/residueSurroundings?&auth_asym_id=$${result.chain}&auth_seq_id=${result.resid}&radius=5&data_source=pdb-h`
} else { } else {
result['query'] = `https://wwwdev.ebi.ac.uk/pdbe/coordinates/${result.pdbid}?dataSource=hydrogens` result['query'] = `https://wwwdev.ebi.ac.uk/pdbe/model-server/v1/${result.pdbid}?data_source=pdb-h`
} }
if (result.chain !== undefined) result.chain = result.chain.toUpperCase(); if (result.chain !== undefined) result.chain = result.chain.toUpperCase();
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
pdbid: '1cbs', pdbid: '1cbs',
chain: 'A_1', chain: 'A_1',
resid: 200, resid: 200,
query: "https://wwwdev.ebi.ac.uk/pdbe/coordinates/1cbs/ligandInteraction?&authAsymId=$A&authSeqNumber=$200&radius=5&dataSource=hydrogens" query: "https://wwwdev.ebi.ac.uk/pdbe/model-server/v1/1cbs/residueSurroundings?&auth_asym_id=A_1&auth_seq_id=200&radius=5&data_source=pdb-h"
}; };
} }
...@@ -117,12 +117,12 @@ ...@@ -117,12 +117,12 @@
<div style="position: relative; float: left;"> <div style="position: relative; float: left;">
<div id='3dViewer' style="position:relative; width: 500px;height: 500px;"></div> <div id='3dViewer' style="position:relative; width: 500px;height: 500px;"></div>
</div> </div>
<!-- <div style="position: relative; float: left;"> <div style="position: relative; float: left;">
<div id="rt 1" style="width: 500px; height: 500px; position: relative"> <div id="rt 1" style="width: 500px; height: 500px; position: relative">
<pdb-ligand-env pdb-id="5e98" bound-molecule-id="bm1" zoom-on></pdb-ligand-env> <pdb-ligand-env pdb-id="5e98" bound-molecule-id="bm1" zoom-on environment="dev"></pdb-ligand-env>
</div> </div>
</div> </div>
<div style="position: relative; float: left;"> <!-- <div style="position: relative; float: left;">
<div id="rt 1" style="width: 500px; height: 500px; position: relative"> <div id="rt 1" style="width: 500px; height: 500px; position: relative">
<pdb-ligand-env pdb-id="5e98" bound-molecule-id="bm1" entity-id="3" zoom-on></pdb-ligand-env> <pdb-ligand-env pdb-id="5e98" bound-molecule-id="bm1" entity-id="3" zoom-on></pdb-ligand-env>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment