Don't even try to do the inline omex thing if phrasedml doesn't exist.
@@ -12,6 +12,7 @@ try:
except ImportError:
import tecombine as libcombine
+try:
import phrasedml
from .antimony_regex import getModelStartRegex, getModelEndRegex
@@ -207,3 +208,6 @@ class inlineOmex(object):
def exportToCombine(self, outpath):
""" Exports the archive to file. """
self.omex.exportToCombine(outpath)
+
+except:
+ pass
