Skip to content

feat: finemapping batch job refactoring #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""Manifest generator for finemappping."""

from __future__ import annotations

from ot_orchestration.operators.batch.manifest_generators import ProtoManifestGenerator
from ot_orchestration.types import ManifestGeneratorSpecs


class FinemappingManifestGenerator(ProtoManifestGenerator):
def __init__(self, *, commands, options, manifest_kwargs):
pass

@classmethod
def from_generator_config(cls, specs: ManifestGeneratorSpecs) -> FinemappingManifestGenerator:
"""Create a FinemappingManifestGenerator from the specification."""
return cls(
commands=specs["commands"],
options=specs["options"],
manifest_kwargs=specs["manifest_kwargs"],
)