Skip to content

Commit d0d81b8

Browse files
committed
fixed print order
1 parent 97b82ac commit d0d81b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow/scripts/gatc.track.maker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def generate_track(args):
9494
print(f"Processing chromosome: {chromosome}")
9595
seq_str = str(chr_seq[chromosome])
9696
futures.append(executor.submit(process, chromosome, seq_str, motif, motif_len))
97+
print(f"{chromosome} done!")
9798

9899
for future in as_completed(futures):
99100
chromosome, results = future.result()
@@ -113,7 +114,6 @@ def motif_hash(seq, chr_name, motif, motif_len):
113114
window = seq[base:base + motif_len]
114115
if re.search(motif, window, re.IGNORECASE):
115116
results.append(f"{chr_name}\t.\t.\t{base}\t{base + motif_len}\t1\t+\t.\t.\n")
116-
print(f"{chr_name} done!")
117117
return results
118118

119119
# Main function

0 commit comments

Comments
 (0)