Skip to content

Commit

Permalink
- bug 1973: always write the metabolite attribute for metaboliteGlyph…
Browse files Browse the repository at this point in the history
…, even when it is not referenced. that way older versions of COPASI won't refuse to load the model
  • Loading branch information
fbergmann authored and Stefan Hoops committed Sep 23, 2013
1 parent d453fe8 commit 64df279
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions copasi/xml/CCopasiXML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,10 @@ bool CCopasiXML::saveLayoutList()
CCopasiMessage(CCopasiMessage::WARNING, MCXML + 21);
this->mMCXML21Issued = true;
}

// Bug 1973: we still write out the attribute, so that older
// versions of COPASI do not refuse to read the model
Attributes.add("metabolite", "");
}

#ifdef USE_CRENDER_EXTENSION
Expand Down

0 comments on commit 64df279

Please sign in to comment.