Skip to content

Commit feb7097

Browse files
Fix VCell Saving
Include software version in saving.
1 parent 4e054d2 commit feb7097

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vcell-core/src/main/java/cbit/vcell/xml/XmlHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import cbit.vcell.model.ReactionStep;
3939
import cbit.vcell.parser.Expression;
4040
import cbit.vcell.parser.ExpressionException;
41+
import cbit.vcell.resource.PropertyLoader;
4142
import cbit.vcell.solver.Simulation;
4243
import cbit.vcell.solver.*;
4344
import cbit.xml.merge.NodeInfo;
@@ -111,7 +112,7 @@ public static String bioModelToXML(BioModel bioModel) throws XmlParseException {
111112
}
112113

113114
static String getEscapedSoftwareVersion(){
114-
return TokenMangler.getEscapedString(System.getProperty("vcell.softwareVersion", "unknown"));
115+
return TokenMangler.getEscapedString(PropertyLoader.getRequiredProperty("vcell.softwareVersion"));
115116
}
116117
public static String bioModelToXML(BioModel bioModel, boolean printkeys) throws XmlParseException {
117118

0 commit comments

Comments
 (0)