pyvale.mooseherder.availability module

Availability checks for optional MOOSE and Gmsh executables.

class BackendAvailability(available, executable, reason=None)[source]

Bases: object

Availability state and actionable diagnostic for one external backend.

Parameters:
  • available (bool) – Whether the executable is available and executable.

  • executable (pathlib.Path or None) – Resolved executable path when one was found.

  • reason (str or None) – Explanation supplied when available is False.

available
executable
reason
__init__(available, executable, reason=None)
moose_availability(config)[source]

Check that the MOOSE application configured for a runner is executable.

gmsh_availability(gmsh_path=None)[source]

Find an explicit Gmsh executable or resolve gmsh from PATH.