Add snap2stamps-style pipeline definitions using sarpyx.snapflow operators#13
Merged
sirbastiano merged 2 commits intomainfrom Feb 25, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
sarpyx.snapflowGPT operator methods to enable reproducible, composable SNAP-based Pipelines within this project.Description
sarpyx/snapflow/snap2stamps_pipelines.pywhich defines aPipelineStepdataclass and declarative graph-level pipeline mappings toGPToperator methods.psi_prep,psi_post_unwrap,psi_full,sbas_full) that chain the graph-level blocks into end-to-end sequences._run_step(with per-step overrides and defaults forstamps_exportandsnaphu_exportpaths),run_graph_pipeline,run_workflow, and a conveniencebuild_gptconstructor.Testing
python -m compileall sarpyx/snapflow/snap2stamps_pipelines.py, which completed successfully.python -c "from sarpyx.snapflow.snap2stamps_pipelines import SNAP2STAMPS_GRAPH_PIPELINES, SNAP2STAMPS_WORKFLOWS; print(len(SNAP2STAMPS_GRAPH_PIPELINES), len(SNAP2STAMPS_WORKFLOWS))"which printed13 4confirming the module loads and registries are present.snap2stampsgraphs for direct diffing but network access to the upstream GitHub content was blocked in this environment (HTTP 403), so offline mapping was implemented against the available SNAP operator methods instead.Codex Task