Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions chrombpnet/evaluation/make_bigwigs/bigwig_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ def write_bigwig(data, regions, gs, bw_out, debug_chr=None, use_tqdm=False, outs
iterator = tqdm(iterator)

for itr in iterator:
# subset to chromosome (debugging)
if debug_chr and regions[i][0]!=debug_chr:
continue

i = order_of_regs[itr]
i_chr, i_start, i_end, i_mid = regions[i]

# subset to chromosome (debugging)
if debug_chr and i_chr not in debug_chr:
continue

if i_chr != cur_chr:
cur_chr = i_chr
Expand Down