Yleaf icon indicating copy to clipboard operation
Yleaf copied to clipboard

Huge bug with multiprocessing

Open alexreg opened this issue 9 months ago • 0 comments

This program make the invalid assumption that mutated global variables (like BACKBONE_GROUPS) will have up-to-values in child proceses. This is very much not true, an explicitly stated by the Python docs! It causes the program to fail to produce any useful output on MacOS, for a start, since BACKBONE_GROUPS and MAIN_HAPLO_GROUPS are empty (default values) in child processes of the Pool.

alexreg avatar May 08 '25 01:05 alexreg