Skip to content

Commit 0eed1ad

Browse files
committed
cli.gc: bugfix
1 parent ec8587f commit 0eed1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cooltools/cli/genome.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def gc(bins_path, fasta_path, mapped_only):
7272
"Some chromosomes mentioned in {}"
7373
" are not found in {}".format(bins_path, fasta_path)
7474
)
75-
bins["GC"] = bioframe.tools.frac_gc(bins, fasta_records, mapped_only)
75+
bins["GC"] = bioframe.genomeops.frac_gc(bins, fasta_records, mapped_only, return_input=False)
7676
print(bins.to_csv(sep="\t", index=False))
7777

7878

0 commit comments

Comments
 (0)