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
minerva
core
Commits
df2159f4
Commit
df2159f4
authored
Sep 20, 2021
by
Piotr Gawron
Browse files
export of structural state should use structural state z index
parent
0023d8c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
converter-sbml/src/main/java/lcsb/mapviewer/converter/model/sbml/species/ModificationResidueExporter.java
View file @
df2159f4
...
...
@@ -277,7 +277,7 @@ public class ModificationResidueExporter {
double
x
=
structuralState
.
getPosition
().
getX
();
double
y
=
structuralState
.
getPosition
().
getY
();
BoundingBox
boundingBox
=
new
BoundingBox
();
boundingBox
.
setPosition
(
new
Point
(
x
,
y
,
structuralState
.
get
Species
().
getZ
()
+
1
));
boundingBox
.
setPosition
(
new
Point
(
x
,
y
,
structuralState
.
get
Z
()
));
Dimensions
dimensions
=
new
Dimensions
();
dimensions
.
setWidth
(
width
);
dimensions
.
setHeight
(
height
);
...
...
converter-sbml/src/test/java/lcsb/mapviewer/converter/model/sbml/SbmlExporterTest.java
View file @
df2159f4
...
...
@@ -536,6 +536,7 @@ public class SbmlExporterTest extends SbmlTestFunctions {
structuralState
.
setWidth
(
element
.
getWidth
());
structuralState
.
setHeight
(
20.0
);
structuralState
.
setFontSize
(
10.0
);
structuralState
.
setZ
(
element
.
getZ
()
+
2
);
return
structuralState
;
}
...
...
converter-sbml/src/test/java/lcsb/mapviewer/converter/model/sbml/SbmlModelUtilsTest.java
View file @
df2159f4
...
...
@@ -64,6 +64,7 @@ public class SbmlModelUtilsTest {
}
}
@SuppressWarnings
(
"deprecation"
)
private
Model
createModelWithLayoutAndRender
()
{
SBMLDocument
doc
=
new
SBMLDocument
(
3
,
1
);
Model
result
=
doc
.
createModel
();
...
...
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