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
f523a0b3
Commit
f523a0b3
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
refined urls
parent
14abcd6d
No related branches found
No related tags found
1 merge request
!222
Refseq no sys
Pipeline
#122287
waiting for manual action with stages
in 8 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/content/StructureDb.vue
+21
-5
21 additions, 5 deletions
components/content/StructureDb.vue
with
21 additions
and
5 deletions
components/content/StructureDb.vue
+
21
−
5
View file @
f523a0b3
...
@@ -18,7 +18,6 @@ const itemValue = ref("id");
...
@@ -18,7 +18,6 @@ const itemValue = ref("id");
const
dbName
=
ref
(
"
structure
"
)
const
dbName
=
ref
(
"
structure
"
)
onBeforeMount
(
async
()
=>
{
onBeforeMount
(
async
()
=>
{
console
.
log
(
"
dans le mounted refseq
"
)
const
{
data
}
=
await
useAsyncMeiliSearch
({
const
{
data
}
=
await
useAsyncMeiliSearch
({
index
:
toValue
(
dbName
),
query
:
""
,
params
:
{
index
:
toValue
(
dbName
),
query
:
""
,
params
:
{
facets
:
[
"
*
"
],
facets
:
[
"
*
"
],
...
@@ -143,6 +142,8 @@ function pdbNameToCif(pdbPath: string) {
...
@@ -143,6 +142,8 @@ function pdbNameToCif(pdbPath: string) {
return
`
${
cifPath
}
.cif`
return
`
${
cifPath
}
.cif`
}
}
const
{
refinedUrl
:
downloadAllPdbUrl
}
=
useRefinedUrl
(
"
/df-all-pdb.tar.gz
"
)
</
script
>
</
script
>
<
template
>
<
template
>
<ServerDbTable
title=
"Predicted Structures"
:sortBy=
"sortBy"
:data-table-server-props=
"dataTableServerProps"
<ServerDbTable
title=
"Predicted Structures"
:sortBy=
"sortBy"
:data-table-server-props=
"dataTableServerProps"
...
@@ -210,9 +211,24 @@ function pdbNameToCif(pdbPath: string) {
...
@@ -210,9 +211,24 @@ function pdbNameToCif(pdbPath: string) {
<CollapsibleChips
:items=
"namesToCollapsibleChips(item.system_genes, item.System_name_ok)"
></CollapsibleChips>
<CollapsibleChips
:items=
"namesToCollapsibleChips(item.system_genes, item.System_name_ok)"
></CollapsibleChips>
</
template
>
</
template
>
<
template
#
[`
item.structure
`
]=
"{ item }"
>
<
template
#
[`
item.structure
`
]=
"{ item }"
>
<MolstarPdbePlugin
v-if=
"item?.pdb && item.pdb !== 'na'"
<v-list>
:data-urls=
"[`/$
{item.System_name_ok}/${pdbNameToCif(item.pdb)}`]" uniq>
<v-list-item>
</MolstarPdbePlugin>
<v-list-item-title>
cif
</v-list-item-title>
<MolstarPdbePlugin
v-if=
"item?.pdb && item.pdb !== 'na'"
:data-urls=
"[`/$
{item.System_name_ok}/${pdbNameToCif(item.pdb)}`]" uniq>
</MolstarPdbePlugin>
</v-list-item>
<v-list-item>
<v-list-item-title>
pdb
</v-list-item-title>
<MolstarPdbePlugin
v-if=
"item?.pdb && item.pdb !== 'na'"
:data-urls=
"[`/$
{item.System_name_ok}/${item.pdb}`]" uniq>
</MolstarPdbePlugin>
</v-list-item>
</v-list>
<!--
<v-icon
v-else
color=
"warning"
icon=
"md:dangerous"
></v-icon>
-->
<!--
<v-icon
v-else
color=
"warning"
icon=
"md:dangerous"
></v-icon>
-->
...
@@ -228,7 +244,7 @@ function pdbNameToCif(pdbPath: string) {
...
@@ -228,7 +244,7 @@ function pdbNameToCif(pdbPath: string) {
all
</v-btn>
all
</v-btn>
</
template
>
</
template
>
<v-list>
<v-list>
<v-list-item
value=
"pdb"
href=
"
/df-all-pdb.tar.gz
"
>
<v-list-item
value=
"pdb"
:
href=
"
downloadAllPdbUrl
"
>
<v-list-item-title>
all pdbs
</v-list-item-title>
<v-list-item-title>
all pdbs
</v-list-item-title>
</v-list-item>
</v-list-item>
<v-list-item
value=
"pdb"
>
<v-list-item
value=
"pdb"
>
...
...
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