Bug in exporting boundary species to graphical formats
When converting, e.g., neurcon_cd.xml to PDF, the boundary species have wrong z-index:
Designs
- Show closed items
Related merge requests 2
When these merge requests are accepted, this issue will be closed automatically.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Piotr Gawron changed milestone to %v12.2.0~beta.0
changed milestone to %v12.2.0~beta.0
created branch
571-bug-in-exporting-boundary-species-to-graphical-formats
- Piotr Gawron mentioned in merge request !501 (closed)
mentioned in merge request !501 (closed)
- Owner
Dear @david.hoksza
Can you provide me with the code that produce the error. In my case result looks like (elements are inside complex and the x index is correct):
- Piotr Gawron assigned to @david.hoksza
assigned to @david.hoksza
- Author Developer
Attached is the file causing troubles (it has indeed shifted nodes in complexes) and the following code can be used to reproduce the wrong order of elements in the resulting imaged.
@Test public void testCelDesigner2SPdf() throws Exception { try { File file = new File("testFiles/convert/neuron_cd.xml"); String content = FileUtils.readFileToString(file); FileOutputStream outputStream = new FileOutputStream("testFiles/convert/neuron-cd.pdf"); outputStream.write(convertRestImpl.converToImage(token, "CellDesigner_SBML", "pdf", content).toByteArray()); outputStream.close(); //assertTrue(result.contains("<rect")); } catch (Exception e) { e.printStackTrace(); throw e; }
Edited by Piotr Gawron - David Hoksza assigned to @piotr.gawron and unassigned @david.hoksza
assigned to @piotr.gawron and unassigned @david.hoksza
- Piotr Gawron mentioned in merge request !504 (merged)
mentioned in merge request !504 (merged)
- Piotr Gawron mentioned in commit 92749ad3
mentioned in commit 92749ad3
- Piotr Gawron closed via merge request !504 (merged)
closed via merge request !504 (merged)