Skip to content

Refactor bash MD scripts into typed Python core + Typer CLI#11

Open
bielj wants to merge 1 commit into
mainfrom
workflows_refactor
Open

Refactor bash MD scripts into typed Python core + Typer CLI#11
bielj wants to merge 1 commit into
mainfrom
workflows_refactor

Conversation

@bielj

@bielj bielj commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Restructure the repo so the existing bash MD-prep workflows become resilient,
dynamic Python workflows organized in layers. At the base, reusable GROMACS
primitives (grompp+mdrun, solvate, energy, WAT-topology management) wrap single
operations with structured errors and reproducibility metadata; on top, composable
typed step functions and hardened pipelines build on those primitives, including
the adaptive pressure-driven resolvation loop. This layering decouples what a step
does from how it is invoked, so the same core supports multiple front ends: a Typer
CLI (subcommand per step + run-pipeline), an SDK public API (run_standard_md), and
eventual Prefect orchestration without rewrites. Per-system behavior is driven by a
Pydantic config (YAML/TOML + flag overrides) with per-invocation GROMACS run
profiles, replacing hard-coded, typo-prone shell scripts. Adopt taylor as the
canonical variant and add gmx-free contract/CLI tests wired into CI.

Restructure the repo so the existing bash MD-prep workflows become resilient,
  dynamic Python workflows organized in layers. At the base, reusable GROMACS
  primitives (grompp+mdrun, solvate, energy, WAT-topology management) wrap single
  operations with structured errors and reproducibility metadata; on top, composable
  typed step functions and hardened pipelines build on those primitives, including
  the adaptive pressure-driven resolvation loop. This layering decouples what a step
  does from how it is invoked, so the same core supports multiple front ends: a Typer
  CLI (subcommand per step + run-pipeline), an SDK public API (run_standard_md), and
  eventual Prefect orchestration without rewrites. Per-system behavior is driven by a
  Pydantic config (YAML/TOML + flag overrides) with per-invocation GROMACS run
  profiles, replacing hard-coded, typo-prone shell scripts. Adopt taylor as the
  canonical variant and add gmx-free contract/CLI tests wired into CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant