Skip to content

Commit c05d2a6

Browse files
rob-pclaude
andcommitted
Add struct_constraints option to py-piscem mapping engine
Expose the --struct-constraints mode via the Python API: engine = index.mapping_engine(struct_constraints=True) Split ConcreteMappingEngine (generic over S: SketchHitInfo) from ConcreteAtacEngine (always SketchHitInfoSimple + binning) to avoid type mismatches between generic caches and ATAC-specific functions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ecd07f1 commit c05d2a6

3 files changed

Lines changed: 196 additions & 125 deletions

File tree

crates/py-piscem/piscem.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class ReferenceIndex:
105105
strategy: str = "permissive",
106106
max_hit_occ: int = 256,
107107
max_read_occ: int = 2500,
108+
struct_constraints: bool = False,
108109
) -> MappingEngine: ...
109110
def vcolor_engine(
110111
self,

0 commit comments

Comments
 (0)