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
364ab3a5
Commit
364ab3a5
authored
Aug 21, 2019
by
Piotr Gawron
Browse files
due to problems with jaxb there are sometimes nulls
parent
fbeb1675
Pipeline
#12959
passed with stage
in 13 minutes and 39 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
364ab3a5
minerva
(
14.0.0
~
beta
.0
)
unstable
;
urgency
=
low
*
Bug
fix
:
fetching
list
of
miRnas
resulted
sometimes
in
"Internal Server
Error"
(#
889
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Mon
,
21
Aug
2019
21
:
00
:
00
+
0200
minerva
(
14.0.0
~
alpha
.1
)
unstable
;
urgency
=
low
*
Feature
removal
:
support
for
tomcat7
removed
(#
828
)
*
Small
improvement
:
debian
package
can
be
installed
on
debian
:
buster
(#
879
)
...
...
annotation/src/main/java/lcsb/mapviewer/annotation/services/ChemicalParser.java
View file @
364ab3a5
...
...
@@ -362,9 +362,11 @@ public class ChemicalParser extends CachableInterface implements IExternalServic
if
(
chemicalNode
!=
null
&&
chemicalNode
.
hasChildNodes
())
{
try
{
result
=
chemicalSerializer
.
xmlToObject
(
chemicalNode
);
return
result
;
}
catch
(
SerializationException
e
)
{
logger
.
error
(
e
,
e
);
logger
.
error
(
"Problem with deserializing element"
,
e
);
}
if
(
result
!=
null
)
{
return
result
;
}
}
try
{
...
...
annotation/src/main/java/lcsb/mapviewer/annotation/services/MiRNAParser.java
View file @
364ab3a5
...
...
@@ -190,8 +190,10 @@ public class MiRNAParser extends CachableInterface implements IExternalService {
Node
miRNANode
=
super
.
getCacheNode
(
MI_RNA_PREFIX
+
name
.
toLowerCase
());
if
(
miRNANode
!=
null
&&
miRNANode
.
hasChildNodes
())
{
miRNA
=
miRnaSerializer
.
xmlToObject
(
miRNANode
);
miRNAs
.
add
(
miRNA
);
idsToRemove
.
add
(
name
);
if
(
miRNA
!=
null
)
{
miRNAs
.
add
(
miRNA
);
idsToRemove
.
add
(
name
);
}
}
}
List
<
String
>
idsToFind
=
new
ArrayList
<>();
...
...
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