Myers.hw_location: def of bend-edit-distance@0.2.2.0 Import: import bend-edit-distance@0.2.2.0/src/Myers.bend as Myers Lines 597-605 of bend-edit-distance@0.2.2.0/src/Myers.bend: https://jend.leeeet.dev/read.txt?path=bend-edit-distance@0.2.2.0/src/Myers.bend&start_line=597&end_line=605 import Base import bend-edit-distance@0.2.2.0/EdlibTypes.bend as E import bend-edit-distance@0.2.2.0/src/Alignment.bend as A def hw_location(location: A.Location, reverse_target: String, target_length: Nat, profiles: List<&2, Peq>, query_length: Nat, maximum: Nat) -> A.Location: match location: case A.Location{E.BeforeStart{}, _}: A.Location{E.BeforeStart{}, 0n} case A.Location{E.Position{+end}, _}: hw_start_best(end, semiglobal_best( String.drop(reverse_target, Nat.sub(target_length, 1n+end)), profiles, query_length, maximum, E.SHW{})) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.sub https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.drop https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&name=Coordinate https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Alignment.bend&name=Location https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Myers.bend&name=Peq https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Myers.bend&name=hw_start_best https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/src/Myers.bend&name=semiglobal_best