Skip to content

Commit b3f4f66

Browse files
chrisvittalhail-ci-robot
authored andcommitted
add the rg name to the contig cache field name
1 parent 63b883a commit b3f4f66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎hail/hail/src/is/hail/types/physical/stypes/concrete/SCanonicalLocusPointer.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class SCanonicalLocusPointerValue(
8989
override def contigIdx(cb: EmitCodeBuilder): Value[Int] = {
9090
val cache = cb.emb.getOrDefineLazyField[ContigIndexCache](
9191
Code.newInstance[ContigIndexCache, ReferenceGenome](cb.emb.getReferenceGenome(st.rg)),
92-
("contig_index_cache", st.rg),
92+
(s"contig_index_cache_${st.rg.name}", st.rg),
9393
)
9494
cb.memoize(cache.invoke[Long, Int, Int](
9595
"contigIndex",

0 commit comments

Comments
 (0)