Skip to content

Commit 39b9ffa

Browse files
authored
Merge pull request #237 from raphael-group/gccorrect-fix
fix type incompatible bug when nochr is used
2 parents 3729a35 + a8aed80 commit 39b9ffa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hatchet/utils/rd_gccorrect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def rd_gccorrect(bb, ref_genome):
2828
"3_usercol": "END",
2929
"5_pct_gc": "GC",
3030
}
31-
)[["#CHR", "START", "END", "GC"]]
31+
)
32+
.astype({"#CHR": str})[["#CHR", "START", "END", "GC"]]
3233
)
3334

3435
# Correcting GC bias per sample

0 commit comments

Comments
 (0)