def renderTemplate(template, fs, modelDir="", absolutePaths=False, datastoreNames={}): # Our HTML template for the interface: with fs.open("models/solarSunda.html") as tempFile: template = Template(tempFile.read()) # only has A, and V return __metaModel__.renderTemplate(template, fs, modelDir, absolutePaths, datastoreNames)
def quickRender(template, modelDir="", absolutePaths=False, datastoreNames={}): ''' Presence of this function indicates we can run the model quickly via a public interface. ''' return __metaModel__.renderTemplate(template, modelDir, absolutePaths, datastoreNames, quickRender=True)
def renderTemplate(template, modelDir="", absolutePaths=False, datastoreNames={}): return __metaModel__.renderTemplate(template, modelDir, absolutePaths, datastoreNames)
def renderTemplate(template, fs, modelDir="MyModel", absolutePaths=False, datastoreNames={}): # Our HTML template for the interface: with fs.open("models/cvrStatic.html") as tempFile: template = Template(tempFile.read()) return __metaModel__.renderTemplate(template, fs, modelDir, absolutePaths, datastoreNames)