@@ -35,6 +35,7 @@ public static void sbml_to_vcml(String sbml_content, Path vcmlPath)
35
35
36
36
GeometrySpec .avoidAWTImageCreation = true ;
37
37
VCMongoMessage .enabled = false ;
38
+ XmlHelper .cloneUsingXML = true ;
38
39
39
40
record LoggerMessage (VCLogger .Priority priority , VCLogger .ErrorType errorType , String message ) {};
40
41
final ArrayList <LoggerMessage > messages = new ArrayList <>();
@@ -76,6 +77,7 @@ public static void vcml_to_sbml(String vcml_content, String applicationName, Pat
76
77
throws XmlParseException , IOException , XMLStreamException , SbmlException , MappingException , ImageException , GeometryException , ExpressionException {
77
78
GeometrySpec .avoidAWTImageCreation = true ;
78
79
VCMongoMessage .enabled = false ;
80
+ XmlHelper .cloneUsingXML = true ;
79
81
80
82
BioModel bioModel = XmlHelper .XMLToBioModel (new XMLSource (vcml_content ));
81
83
bioModel .updateAll (false );
@@ -115,6 +117,7 @@ public static void vcml_to_sbml(String vcml_content, String applicationName, Pat
115
117
public static void vcml_to_vcml (String vcml_content , Path vcmlPath ) throws XmlParseException , IOException , MappingException {
116
118
GeometrySpec .avoidAWTImageCreation = true ;
117
119
VCMongoMessage .enabled = false ;
120
+ XmlHelper .cloneUsingXML = true ;
118
121
119
122
BioModel bioModel = XmlHelper .XMLToBioModel (new XMLSource (vcml_content ));
120
123
bioModel .updateAll (false );
0 commit comments