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
9d69d844
Commit
9d69d844
authored
11 months ago
by
Remi PLANEL
Browse files
Options
Downloads
Plain Diff
Merge branch 'operon-struct-type' into operon-struct-type-article-update
parents
bb59d79e
1d8d2ebc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#129148
failed with stages
in 12 minutes and 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/OperonStructure.vue
+14
-0
14 additions, 0 deletions
components/OperonStructure.vue
components/content/ArticleStructure.vue
+1
-1
1 addition, 1 deletion
components/content/ArticleStructure.vue
types/structure.ts
+1
-0
1 addition, 0 deletions
types/structure.ts
with
16 additions
and
1 deletion
components/OperonStructure.vue
+
14
−
0
View file @
9d69d844
...
...
@@ -64,6 +64,19 @@ const computedGenes = computed(() => {
}
else
{
return
[]
}
})
const
structureVersion
=
computed
(()
=>
{
const
genesVal
=
toValue
(
computedGenes
)
if
(
genesVal
?.
length
>
0
)
{
return
genesVal
[
0
].
version
}
else
{
return
undefined
}
})
watch
(
computedGenes
,
()
=>
{
const
genes
=
toValue
(
computedGenes
)
const
domain
=
genes
?.
map
(
d
=>
{
return
d
.
gene
})
...
...
@@ -198,6 +211,7 @@ function drawGene({ width, height }) {
<
template
>
<div
ref=
"gbContainer"
>
<v-card
flat
color=
"transparent"
>
<v-card-subtitle>
model version :
{{
structureVersion
}}
</v-card-subtitle>
<!--
<v-img
:href=
""
></v-img>
-->
<svg
ref=
"svgRef"
:width=
"computedContainerWidth"
:height=
"plotHeight"
>
<g
class=
"x-axis"
/>
...
...
This diff is collapsed.
Click to expand it.
components/content/ArticleStructure.vue
+
1
−
1
View file @
9d69d844
...
...
@@ -110,7 +110,7 @@ async function fetchStructures() {
<
template
>
<v-card
flat
>
<template
v-for=
"[subsystem, structures] in perSubsystemStructures"
:key=
"subsystem[0]"
>
<ProseH3>
{{
computedSystem
}}
-
{{
subsystem
}}
</ProseH3>
<ProseH3>
{{
subsystem
}}
</ProseH3>
<v-row
align=
"end"
>
<v-col
cols=
"6"
class=
"ml-0 "
>
<SystemOperonStructure
:system=
"computedSystem"
:subsystem=
"subsystem"
:structures=
"structures"
/>
...
...
This diff is collapsed.
Click to expand it.
types/structure.ts
+
1
−
0
View file @
9d69d844
...
...
@@ -2,6 +2,7 @@ export interface StructureOperonGene {
gene
:
string
id
:
number
subsystem
:
string
version
:
string
system
:
string
}
...
...
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