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
f8b87e26
Commit
f8b87e26
authored
Oct 22, 2020
by
Piotr Gawron
Browse files
info about hypothetical and activity status added to REST API
parent
b0e9a445
Pipeline
#33552
passed with stage
in 14 minutes and 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
f8b87e26
minerva
(
15.1.0
)
unstable
;
urgency
=
medium
*
Small
improvement
:
information
if
species
has
activity
,
hypothetical
flag
set
is
available
over
REST
API
for
element
(#
1379
)
*
Bug
fix
:
MolArt
version
upgraded
to
handle
new
protein
API
syntax
(#
1399
)
*
Bug
fix
:
LDAP
connection
did
not
work
properly
where
uid
in
LDAP
/
AD
contained
upper
case
letters
(#
1404
)
...
...
rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementsRestImpl.java
View file @
f8b87e26
...
...
@@ -182,6 +182,16 @@ public class ElementsRestImpl extends BaseRestImpl {
value
=
((
Species
)
element
).
isConstant
();
}
break
;
case
"hypothetical"
:
if
(
element
instanceof
Species
)
{
value
=
((
Species
)
element
).
isHypothetical
();
}
break
;
case
"activity"
:
if
(
element
instanceof
Species
)
{
value
=
((
Species
)
element
).
getActivity
();
}
break
;
case
"references"
:
value
=
createAnnotations
(
element
.
getMiriamData
());
break
;
...
...
@@ -357,6 +367,8 @@ public class ElementsRestImpl extends BaseRestImpl {
columnsSet
.
add
(
"initialConcentration"
);
columnsSet
.
add
(
"boundaryCondition"
);
columnsSet
.
add
(
"constant"
);
columnsSet
.
add
(
"hypothetical"
);
columnsSet
.
add
(
"activity"
);
columnsSet
.
add
(
"initialAmount"
);
columnsSet
.
add
(
"glyph"
);
}
else
{
...
...
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