Skip to content

Commit 6baef08

Browse files
fbergmannStefan Hoops
authored andcommitted
- fix for bug 1973: do not require a metabolite for layout glyphs (they are not guaranteed to have one in SBML)
1 parent 64df279 commit 6baef08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

copasi/xml/CCopasiXMLParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6732,7 +6732,7 @@ void CCopasiXMLParser::MetaboliteGlyphElement::start(const XML_Char *pszName, co
67326732
const char * metabolite;
67336733
key = mParser.getAttributeValue("key", papszAttrs);
67346734
name = mParser.getAttributeValue("name", papszAttrs);
6735-
metabolite = mParser.getAttributeValue("metabolite", papszAttrs);
6735+
metabolite = mParser.getAttributeValue("metabolite", papszAttrs, false);
67366736

67376737
mCommon.pMetaboliteGlyph = new CLMetabGlyph(name);
67386738
#ifdef USE_CRENDER_EXTENSION

0 commit comments

Comments
 (0)