SemBioProcess / SemGen

A tool for semantics-based annotation and composition of biosimulation models
18 stars 3 forks source link

Add flag for writing Casa annotations #308

Closed 0u812 closed 5 years ago

0u812 commented 5 years ago

In order to allow getting at the Casa RDF annotation for an SBML model, I added an override flag to the SBMLwriter. Previously, SBMLwriter would use whether the write location was an omex archive or not to determine whether to output Casa, but now it checks the flag. Setting the output location to an omex archive will set the flag, so the old behavior remains the same, but you can also override the flag in the SBMLwriter constructor.

I didn't change any function signature, only added a few overloads, so it shouldn't affect existing code, but Max I just wanted to give you a chance to check that omex writing via the GUI still works.

0u812 commented 5 years ago

Thanks!