Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EUbOPEN Web
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChEMBL
EUbOPEN
EUbOPEN Web
Commits
cd85e61c
Commit
cd85e61c
authored
3 years ago
by
David Mendez
Browse files
Options
Downloads
Patches
Plain Diff
remove hardcoded value
parent
d99c99ec
No related branches found
No related tags found
1 merge request
!16
Add PBDe Molstar visualisations for compounds and targets
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/report_cards/shared/CrystalStructures/PDBeRepresentativeStructure.vue
+2
-3
2 additions, 3 deletions
.../shared/CrystalStructures/PDBeRepresentativeStructure.vue
with
2 additions
and
3 deletions
components/report_cards/shared/CrystalStructures/PDBeRepresentativeStructure.vue
+
2
−
3
View file @
cd85e61c
...
...
@@ -86,13 +86,12 @@ export default {
},
methods
:
{
loadData
()
{
const
requestURL
=
`https://www.ebi.ac.uk/pdbe/graph-api/mappings/best_structures/O76074`
console
.
log
(
'
requestURL:
'
,
requestURL
)
const
requestURL
=
`https://www.ebi.ac.uk/pdbe/graph-api/mappings/best_structures/
${
this
.
uniProtAccession
}
`
axios
.
get
(
requestURL
)
.
then
((
response
)
=>
{
const
structures
=
response
.
data
.
O76074
const
structures
=
response
.
data
[
this
.
uniProtAccession
]
// Just get the first structure for now
if
(
structures
.
length
===
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment