You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running on a windows machine with Anaconda+Python3 results in the following error when trying to calculate protein posteriors:
AttributeError: Can't pickle local object 'MyPool.__init__.<locals>.<lambda>'
This is a well known problem with the multiprocessing module (e.g. here). The trick is apparently to define the function as a "top-level" function, which might be a bit cumbersome in the current state of the code.
The text was updated successfully, but these errors were encountered:
Running on a windows machine with Anaconda+Python3 results in the following error when trying to calculate protein posteriors:
This is a well known problem with the multiprocessing module (e.g. here). The trick is apparently to define the function as a "top-level" function, which might be a bit cumbersome in the current state of the code.
The text was updated successfully, but these errors were encountered: