Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Gitlab will go into maintenance Friday 3rd February from 9:00 to 10:00
Open sidebar
minerva
core
Commits
a65a8f68
Commit
a65a8f68
authored
Apr 19, 2021
by
Piotr Gawron
Browse files
reaction can be null
parent
3323afbb
Pipeline
#40050
passed with stage
in 22 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
converter-sbml/src/main/java/lcsb/mapviewer/converter/model/sbml/reaction/SBOTermReactionType.java
View file @
a65a8f68
...
...
@@ -52,6 +52,10 @@ public enum SBOTermReactionType {
}
public
static
Class
<?
extends
Reaction
>
getTypeSBOTerm
(
org
.
sbml
.
jsbml
.
Reaction
reaction
)
{
if
(
reaction
==
null
)
{
return
StateTransitionReaction
.
class
;
}
String
sboTerm
=
reaction
.
getSBOTermID
();
if
(
sboTerm
==
null
||
sboTerm
.
isEmpty
())
{
return
StateTransitionReaction
.
class
;
...
...
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