Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
0e9498da
Commit
0e9498da
authored
Apr 30, 2021
by
Piotr Gawron
Browse files
structural state is available for complexes
parent
a5f26f1e
Pipeline
#40783
passed with stage
in 21 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
0e9498da
minerva
(
15.1.4
)
stable
;
urgency
=
medium
*
Bug
fix
:
structural
state
information
data
was
not
available
for
complexes
(#
1476
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Tue
,
30
Apr
2021
17
:
00
:
00
+
0200
minerva
(
15.1.3
)
stable
;
urgency
=
medium
*
Bug
fix
:
modifier
reactions
to
phenotype
were
incorrectly
translated
to
Process
Description
reactions
when
exporting
to
SBGN
-
ML
(#
1445
)
...
...
rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementsRestImpl.java
View file @
0e9498da
...
...
@@ -254,7 +254,6 @@ public class ElementsRestImpl extends BaseRestImpl {
if
(
element
instanceof
Protein
)
{
Protein
protein
=
((
Protein
)
element
);
modifications
=
getModifications
(
protein
.
getModificationResidues
());
structuralState
=
protein
.
getStructuralState
();
}
else
if
(
element
instanceof
Rna
)
{
Rna
rna
=
((
Rna
)
element
);
modifications
=
getModifications
(
rna
.
getRegions
());
...
...
@@ -266,7 +265,9 @@ public class ElementsRestImpl extends BaseRestImpl {
modifications
=
getModifications
(
gene
.
getModificationResidues
());
}
if
(
element
instanceof
Species
)
{
structures
=
getStructures
(((
Species
)
element
).
getUniprots
());
Species
species
=
(
Species
)
element
;
structures
=
getStructures
(
species
.
getUniprots
());
structuralState
=
species
.
getStructuralState
();
}
result
.
put
(
"modifications"
,
modifications
);
if
(
structuralState
!=
null
)
{
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment