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
7a84b8b1
Commit
7a84b8b1
authored
Jun 26, 2020
by
Piotr Gawron
Browse files
unknown transition is exported as conversion in GPML
parent
315bbe96
Pipeline
#28986
passed with stage
in 11 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
7a84b8b1
...
...
@@ -15,6 +15,8 @@ minerva (15.1.0) unstable; urgency=medium
*
Small
improvement
:
API
allows
to
remove
plugin
data
entry
(#
1298
)
*
Small
improvement
:
transport
/
translation
/
transcription
reactions
are
exported
to
SBGN
PD
(#
1302
)
*
Small
improvement
:
Unknown
Transition
Reaction
is
exported
to
GPML
as
CONVERSION
(#
1300
)
*
Bug
fix
:
export
to
image
from
selected
polygon
contained
all
elements
inside
rectangle
bounded
by
the
polygon
coordinates
(#
1096
)
*
Bug
fix
:
continuous
refreshing
list
of
project
when
uploading
/
removing
...
...
pathvisio/src/main/java/lcsb/mapviewer/wikipathway/model/InteractionMapping.java
View file @
7a84b8b1
...
...
@@ -170,7 +170,6 @@ public enum InteractionMapping {
Modulation
.
class
,
true
,
Product
.
class
,
true
),
/**
* Inhibition.
*/
...
...
@@ -513,7 +512,7 @@ public enum InteractionMapping {
}
return
result
;
}
public
static
GpmlInteractionType
getGpmlInteractionTypeForMinervaReactionClass
(
Class
<?
extends
Reaction
>
clazz
)
{
GpmlInteractionType
result
=
GpmlInteractionType
.
CONVERSION
;
for
(
InteractionMapping
mapping
:
InteractionMapping
.
values
())
{
...
...
@@ -525,6 +524,10 @@ public enum InteractionMapping {
}
}
}
if
(
clazz
.
isAssignableFrom
(
UnknownTransitionReaction
.
class
))
{
result
=
GpmlInteractionType
.
CONVERSION
;
}
return
result
;
}
}
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