@@ -35,6 +35,7 @@ public static void sbml_to_vcml(String sbml_content, Path vcmlPath)
3535
3636 GeometrySpec .avoidAWTImageCreation = true ;
3737 VCMongoMessage .enabled = false ;
38+ XmlHelper .cloneUsingXML = true ;
3839
3940 record LoggerMessage (VCLogger .Priority priority , VCLogger .ErrorType errorType , String message ) {};
4041 final ArrayList <LoggerMessage > messages = new ArrayList <>();
@@ -76,6 +77,7 @@ public static void vcml_to_sbml(String vcml_content, String applicationName, Pat
7677 throws XmlParseException , IOException , XMLStreamException , SbmlException , MappingException , ImageException , GeometryException , ExpressionException {
7778 GeometrySpec .avoidAWTImageCreation = true ;
7879 VCMongoMessage .enabled = false ;
80+ XmlHelper .cloneUsingXML = true ;
7981
8082 BioModel bioModel = XmlHelper .XMLToBioModel (new XMLSource (vcml_content ));
8183 bioModel .updateAll (false );
@@ -115,6 +117,7 @@ public static void vcml_to_sbml(String vcml_content, String applicationName, Pat
115117 public static void vcml_to_vcml (String vcml_content , Path vcmlPath ) throws XmlParseException , IOException , MappingException {
116118 GeometrySpec .avoidAWTImageCreation = true ;
117119 VCMongoMessage .enabled = false ;
120+ XmlHelper .cloneUsingXML = true ;
118121
119122 BioModel bioModel = XmlHelper .XMLToBioModel (new XMLSource (vcml_content ));
120123 bioModel .updateAll (false );
0 commit comments