QRisk Simulation GUI

This file contains code to run the QRisk model using the InterfaceModel from biomodel. It initializes the model, sets the variation to an empty dictionary, and then runs the model using the InterfaceModel.

 1"""
 2This file contains code to run the QRisk model using the InterfaceModel from biomodel. It initializes the model, sets the variation to an empty dictionary, and then runs the model using the InterfaceModel.
 3"""
 4from biomodel.models import QRisk
 5from biomodel.gui import InterfaceModel
 6
 7if __name__ == '__main__':
 8    model = QRisk()
 9
10    variation = {}
11
12    model = InterfaceModel(model, None, variation)
13    model.run()
../_images/qrisk_gui.png