-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Medium
-
Component/s: User - Legacy
Hello!
I'm a new user of jumbo and I've found a liitle bug possibly.
I'm trying to use CML2SVGConverter for getting SVG image of ChemML.
When I use CML2PNGConverter for generating png imge - it is all ok.
But in CML2SVGConvertertions there are some errors:
java.lang.RuntimeException: Cannot translate m1
at org.xmlcml.cml.converters.graphics.svg.CMLScalerStyler.center(CMLScal
erStyler.java:133)
at org.xmlcml.cml.converters.graphics.svg.CMLScalerStyler.centerMolecule
s(CMLScalerStyler.java:77)
at org.xmlcml.cml.converters.graphics.svg.CMLScalerStyler.scaleBondsAndC
enter(CMLScalerStyler.java:72)
at org.xmlcml.cml.converters.graphics.svg.CML2SVGConverter.convertToXML(
CML2SVGConverter.java:153)
at org.xmlcml.cml.converters.AbstractConverter.convert(AbstractConverter
.java:403)
at org.xmlcml.cml.converters.ConverterCommand.convertFile(ConverterComma
nd.java:270)
at org.xmlcml.cml.converters.ConverterCommand.processCommands(ConverterC
ommand.java:203)
at org.xmlcml.cml.converters.Command.processCommandLine(Command.java:458
)
at org.xmlcml.cml.converters.ConverterCommand.main(ConverterCommand.java
:590)
763 [main] ERROR org.xmlcml.cml.converters.Command - Cannot run converter: Can
not translate m1
Where m1 means id of molecule:
<molecule id="m1">
Thank you.
Goritskiy Dmitry
goritsky_dima@mail.ru