Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
core
Commits
145f2538
Commit
145f2538
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
central line in reduced notation should be drawn differently
parent
aa28dc14
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!380
Resolve "'Reduced modulation' edge transfer to Minerva"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
model/src/main/java/lcsb/mapviewer/model/map/reaction/Reaction.java
+5
-3
5 additions, 3 deletions
...main/java/lcsb/mapviewer/model/map/reaction/Reaction.java
with
5 additions
and
3 deletions
model/src/main/java/lcsb/mapviewer/model/map/reaction/Reaction.java
+
5
−
3
View file @
145f2538
...
...
@@ -45,6 +45,7 @@ import lcsb.mapviewer.model.map.kinetics.SbmlKinetics;
import
lcsb.mapviewer.model.map.model.Model
;
import
lcsb.mapviewer.model.map.model.ModelData
;
import
lcsb.mapviewer.model.map.reaction.type.ReactionRect
;
import
lcsb.mapviewer.model.map.reaction.type.ReducedNotation
;
import
lcsb.mapviewer.model.map.reaction.type.TwoProductReactionInterface
;
import
lcsb.mapviewer.model.map.reaction.type.TwoReactantReactionInterface
;
import
lcsb.mapviewer.model.map.species.Element
;
...
...
@@ -469,9 +470,7 @@ public class Reaction implements BioEntity {
if
(
firstOperator
!=
null
)
{
startPoint
=
firstOperator
.
getLine
().
getPoints
().
get
(
firstOperator
.
getLine
().
getPoints
().
size
()
-
2
);
}
}
if
(
this
instanceof
TwoProductReactionInterface
)
{
}
else
if
(
this
instanceof
TwoProductReactionInterface
)
{
NodeOperator
firstOperator
=
null
;
...
...
@@ -483,6 +482,9 @@ public class Reaction implements BioEntity {
if
(
firstOperator
!=
null
)
{
endPoint
=
firstOperator
.
getLine
().
getPoints
().
get
(
firstOperator
.
getLine
().
getPoints
().
size
()
-
2
);
}
}
else
if
(
this
instanceof
ReducedNotation
)
{
startPoint
=
reactant
.
getLine
().
getEndPoint
();
endPoint
=
product
.
getLine
().
getBeginPoint
();
}
return
new
Line2D
.
Double
(
startPoint
,
endPoint
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment