main

Contents

main#

main.py

Copyright (c) 2016-2025, SAXS Team, KEK-PF

molass_gui()#

This function initializes the Molass GUI application. It sets up the environment, imports necessary modules, and starts the main GUI loop. It also handles debugging and logging if DEBUG is set to True. It is designed to be run as the main entry point of the application.

Note that the entry point is defined in pyproject.toml as follows:

[project.scripts]
molass = "molass_legacy.main:molass_gui"

This definition allows the application to be run from the command line using the molass command.