Skip to content

Developer Notes: How Lasagna starts

Rob Campbell edited this page Jun 18, 2019 · 1 revision

Once you have run pip install -e, as described in the README file, you can start Lasagna using the lasagna command from the command line. This script acts as an entry point for lasagna.main. lasagna.main is a short module that creates an instance of the class lasagna.lasagna_object.Lasagna, processes any command line arguments, links some Qt signals and slots, and presents the running GUI to the user. The Lasagna class is the big one which does all the heavy lifting. It builds the GUI, defines a bunch of properties which will be needed later, finds and incorporates IO modules, ingredients, and plugins, contains methods for updating the axes as the user interacts with them, etc.