rgpycrumbs.eon._render_cli

Shared Click option bundles for eOn structure-rendering CLIs.

Attributes

Functions

_apply(→ F)

Apply Click decorators in source order.

add_config_option(→ F)

Attach --config for declarative TOML plot settings.

add_render_options(→ F)

Attach the shared renderer-related CLI options to a command.

Module Contents

rgpycrumbs.eon._render_cli.F[source]
rgpycrumbs.eon._render_cli.RENDERER_CHOICES = ('ase', 'xyzrender', 'solvis', 'ovito')[source]
rgpycrumbs.eon._render_cli.CONFIG_HELP = Multiline-String[source]
Show Value
"""TOML plot config. Prefer this over long CLI flag lists for suite runs. Shared style/render/surface-fit settings live under [shared]; command inputs under [neb], [min], or [saddle]. Explicit CLI flags override the file. Surface-fit knobs (auto_thin, max_surface_points) are TOML-only (default auto_thin=false). Example:

  [shared]
  energy_unit = "eV"
  dpi = 200
  strip_renderer = "xyzrender"
  auto_thin = false
  max_surface_points = 64

  [neb]
  con_file = "neb.con"
  plot_type = "landscape"
  output_file = "neb.pdf"

  [min]
  job_dir = ["min_reactant"]
  plot_type = "landscape"
  surface_type = "grad_imq"
  auto_thin = true
"""
rgpycrumbs.eon._render_cli._apply(options: list[collections.abc.Callable[[F], F]], func: F) F[source]

Apply Click decorators in source order.

rgpycrumbs.eon._render_cli.add_config_option(func: F) F[source]

Attach --config for declarative TOML plot settings.

rgpycrumbs.eon._render_cli.add_render_options(func: F) F[source]

Attach the shared renderer-related CLI options to a command.