statisticalbiotechnology / diffacto

Other
13 stars 8 forks source link

Fixed Pool on Windows #10

Closed caetera closed 5 years ago

caetera commented 5 years ago

Hello,

there was an issue with the pool on the Windows platform. Due to the differences in the way multiprocessing works in Linux and Windows the child processes did not receive the copy of prot_dict from the parent process. I have changed a couple of lines to fix this. Now the pooling works on Windows as well. Tested on Python 3.6.7 both on Windows 7 64bit and Ubuntu 18.04 64bit.

percolator commented 5 years ago

Thanks