Open drawlerr opened 2 years ago
Fixes #7
Hi, Thank you for the fix it adress the exact problem i am facing ! But I am having trouble installing it , i uninstalled the old version and reinstalled the new version by running the setup.py but i get the following error:
Generating Alignment Summary
Traceback (most recent call last):
File "/Users/maximilianwettstein/opt/anaconda3/bin/PrimedRPA", line 4, in
Did anyone have the same error or did I install it the wrong way?
In modern versions of Python 3, the multiprocessing library calls forked modules __mp_main instead of main, so mid-function if name == main__ checks failed, causing the following code to reference an undefined variable.
I believe this check should have always been outside function-scope, so I have moved it to the top level before function invocation to fix all instances of this problem.