Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
GeneratorPanel Class Reference

Public Member Functions

Dict[str, str] generate_codes (self)

Protected Member Functions

Path _set_default_template_folder (self)

Detailed Description

Render a GUI JSON spec into a Panel web application project with the MVP pattern.

Converts a JSON GUI specification into runnable source code for Panel/Web plugins. Builds the necessary file structure and generates the required code files.

Member Function Documentation

◆ _set_default_template_folder()

Path _set_default_template_folder ( self)
protected
Resolve the default template directory, with a CONDA_PREFIX fallback.

◆ generate_codes()

Dict[str, str] generate_codes ( self)
Generate Tkinter/VMD plugin source codes from the GUI schema.

Returns:
    A dictionary mapping file names to their generated source code.