Skip to content

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

Merged
bielj merged 3 commits into
mainfrom
workflows_refactor
Jul 28, 2026
Merged

Refactor bash MD scripts into typed Python core + Typer CLI#11
bielj merged 3 commits 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.

bielj added 2 commits July 28, 2026 11:46
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.
@bielj
bielj force-pushed the workflows_refactor branch from ac6d807 to cc4ac2e Compare July 28, 2026 18:47
The per-step dotted entry points are replaced by a single md-workflows Typer app, so this is a breaking interface change rather than the patch version inherited from main.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bielj
bielj merged commit 4fce886 into main Jul 28, 2026
2 checks passed
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