Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
9cfcdbaa
Commit
9cfcdbaa
authored
Nov 04, 2019
by
Piotr Gawron
Browse files
mapping modified - input arrow is translated into reactant not a modulation
parent
e3faa81c
Changes
2
Hide whitespace changes
Inline
Side-by-side
pathvisio/src/main/java/lcsb/mapviewer/wikipathway/model/InteractionMapping.java
View file @
9cfcdbaa
...
...
@@ -38,7 +38,7 @@ public enum InteractionMapping {
*/
ARROW
(
GpmlInteractionType
.
ARROW
,
GpmlLineType
.
SOLID
,
StateTransitionReaction
.
class
,
false
,
Modulation
.
class
,
tru
e
,
Reactant
.
class
,
fals
e
,
Product
.
class
,
false
),
/**
...
...
@@ -111,7 +111,7 @@ public enum InteractionMapping {
*/
CONVERSION
(
GpmlInteractionType
.
CONVERSION
,
GpmlLineType
.
SOLID
,
StateTransitionReaction
.
class
,
false
,
Modulation
.
class
,
tru
e
,
Reactant
.
class
,
fals
e
,
Product
.
class
,
false
),
/**
...
...
pathvisio/src/test/java/lcsb/mapviewer/wikipathway/ReactionGpmlInputToModelTest.java
View file @
9cfcdbaa
...
...
@@ -81,11 +81,11 @@ public class ReactionGpmlInputToModelTest extends WikipathwaysTestFunctions {
assertTrue
(
modifier
instanceof
Modulation
);
}
assertNull
(
reactant
);
assertN
otN
ull
(
reactant
);
assertNull
(
product
);
assertN
otN
ull
(
modifier
);
assertNull
(
modifier
);
assertEquals
(
1
,
getWarnings
().
size
());
assertEquals
(
0
,
getWarnings
().
size
());
Model
model2
=
serializeModelOverCellDesignerParser
(
model1
);
...
...
@@ -291,11 +291,11 @@ public class ReactionGpmlInputToModelTest extends WikipathwaysTestFunctions {
assertTrue
(
modifier
instanceof
Modulation
);
}
assertNull
(
reactant
);
assertN
otN
ull
(
reactant
);
assertNull
(
product
);
assertN
otN
ull
(
modifier
);
assertNull
(
modifier
);
assertEquals
(
1
,
getWarnings
().
size
());
assertEquals
(
0
,
getWarnings
().
size
());
Model
model2
=
serializeModelOverCellDesignerParser
(
model1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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