SVG and PDF export not working properly
I tried to export glycolysis pathway from pdmap to celldesigner ( glycolysis.xml ). Then I used REST API to export it to PNG, PDF and SVG. The export gos through, but PDF fails to open and SVG does not show anything (althought the content is there). The PNG image is fine and the celldesigner file can be opened in celldesigner.
The API calls I used for the conversion were as follows:
curl -X POST --cookie "MINERVA_AUTH_TOKEN=${minerva_token}" --data @glycolysis.xml -H "Content-Type: text/plain" \
http://localhost:8080/minerva/api/convert/image/CellDesigner_SBML:png > glycolysis.png
curl -X POST --cookie "MINERVA_AUTH_TOKEN=${minerva_token}" --data @glycolysis.xml -H "Content-Type: text/plain" \
http://localhost:8080/minerva/api/convert/image/CellDesigner_SBML:svg > glycolysis.svg
curl -X POST --cookie "MINERVA_AUTH_TOKEN=${minerva_token}" --data @glycolysis.xml -H "Content-Type: text/plain" \
http://localhost:8080/minerva/api/convert/image/CellDesigner_SBML:df > glycolysis.pdf
Edited by Piotr Gawron