Skip to content

Commit

Permalink
disable debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
lrauschning committed Dec 9, 2024
1 parent ba583d5 commit dca8963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msyd/pyxfiles/realignment.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ cpdef realign(syndict, qrynames, fastas, MIN_REALIGN_LEN=None, MIN_SYN_ID=None,
cores = min(len(syndict), ncores)

with Pool(cores) as pool:
print([(chrom, syndict[chrom], qrynames, fastas, mp_preset, int(ncores/len(syndict))) for chrom in syndict])
#print([(chrom, syndict[chrom], qrynames, fastas, mp_preset, int(ncores/len(syndict))) for chrom in syndict])
return dict(pool.map(_workaround, [(chrom, pd.DataFrame(syndict[chrom]), qrynames, fastas, mp_preset, max(1, int(ncores/len(syndict)))) for chrom in syndict]))

cpdef _workaround(args): # args: (chrom, syndf, qrynames, fastas, mp_preset, ncores)
Expand Down

0 comments on commit dca8963

Please sign in to comment.