Skip to content

Commit

Permalink
- fix for bug 1973: do not require a metabolite for layout glyphs (th…
Browse files Browse the repository at this point in the history
…ey are not guaranteed to have one in SBML)
  • Loading branch information
fbergmann authored and Stefan Hoops committed Sep 23, 2013
1 parent 64df279 commit 6baef08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copasi/xml/CCopasiXMLParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6732,7 +6732,7 @@ void CCopasiXMLParser::MetaboliteGlyphElement::start(const XML_Char *pszName, co
const char * metabolite;
key = mParser.getAttributeValue("key", papszAttrs);
name = mParser.getAttributeValue("name", papszAttrs);
metabolite = mParser.getAttributeValue("metabolite", papszAttrs);
metabolite = mParser.getAttributeValue("metabolite", papszAttrs, false);

mCommon.pMetaboliteGlyph = new CLMetabGlyph(name);
#ifdef USE_CRENDER_EXTENSION
Expand Down

0 comments on commit 6baef08

Please sign in to comment.