Skip to content

Commit 55784e5

Browse files
author
Szymon Szyszkowski
committed
feat: finemapping manifest generator scheleton
1 parent d3eabd8 commit 55784e5

File tree

1 file changed

+20
-0
lines changed
  • src/ot_orchestration/operators/batch/manifest_generators

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"""Manifest generator for finemappping."""
2+
3+
from __future__ import annotations
4+
5+
from ot_orchestration.operators.batch.manifest_generators import ProtoManifestGenerator
6+
from ot_orchestration.types import ManifestGeneratorSpecs
7+
8+
9+
class FinemappingManifestGenerator(ProtoManifestGenerator):
10+
def __init__(self, *, commands, options, manifest_kwargs):
11+
pass
12+
13+
@classmethod
14+
def from_generator_config(cls, specs: ManifestGeneratorSpecs) -> FinemappingManifestGenerator:
15+
"""Create a FinemappingManifestGenerator from the specification."""
16+
return cls(
17+
commands=specs["commands"],
18+
options=specs["options"],
19+
manifest_kwargs=specs["manifest_kwargs"],
20+
)

0 commit comments

Comments
 (0)