Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
b75111c2
Commit
b75111c2
authored
11 months ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
Add also in onMounted
parent
a011bb87
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#127619
waiting for manual action with stages
in 8 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/content/pdockqMatrix.vue
+9
-1
9 additions, 1 deletion
components/content/pdockqMatrix.vue
with
9 additions
and
1 deletion
components/content/pdockqMatrix.vue
+
9
−
1
View file @
b75111c2
...
@@ -54,6 +54,9 @@ onMounted(async () => {
...
@@ -54,6 +54,9 @@ onMounted(async () => {
throw
createError
(
"
Error while getting structure pdocks
"
)
throw
createError
(
"
Error while getting structure pdocks
"
)
}
}
attachEventHandler
()
})
})
const
computedSystem
=
computed
(()
=>
{
const
computedSystem
=
computed
(()
=>
{
...
@@ -140,7 +143,8 @@ function getDataLabelFromCell(elem) {
...
@@ -140,7 +143,8 @@ function getDataLabelFromCell(elem) {
const
parent
=
elem
.
parentNode
.
parentNode
.
parentNode
.
parentNode
const
parent
=
elem
.
parentNode
.
parentNode
.
parentNode
.
parentNode
return
parent
.
dataset
.
label
return
parent
.
dataset
.
label
}
}
watch
(
matrixPlot
,
()
=>
{
function
attachEventHandler
()
{
const
cells
=
d3
.
selectAll
(
"
.pdockq-plot
"
).
selectAll
(
"
rect
"
)
const
cells
=
d3
.
selectAll
(
"
.pdockq-plot
"
).
selectAll
(
"
rect
"
)
console
.
log
(
"
cells rect on watch
"
)
console
.
log
(
"
cells rect on watch
"
)
console
.
log
(
cells
)
console
.
log
(
cells
)
...
@@ -161,6 +165,10 @@ watch(matrixPlot, () => {
...
@@ -161,6 +165,10 @@ watch(matrixPlot, () => {
else
{
console
.
log
(
"
no data found
"
)
}
else
{
console
.
log
(
"
no data found
"
)
}
})
})
}
watch
(
matrixPlot
,
()
=>
{
attachEventHandler
()
})
})
function
pdbNameToCif
(
pdbPath
:
string
)
{
function
pdbNameToCif
(
pdbPath
:
string
)
{
const
cifPath
=
pdbPath
.
split
(
"
.
"
).
slice
(
0
,
-
1
).
join
(
"
.
"
)
const
cifPath
=
pdbPath
.
split
(
"
.
"
).
slice
(
0
,
-
1
).
join
(
"
.
"
)
...
...
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