PyProphet / pyprophet

PyProphet: Semi-supervised learning and scoring of OpenSWATH results.
http://www.openswath.org
BSD 3-Clause "New" or "Revised" License
29 stars 21 forks source link

"pyprophet score --threads=-1 ... "raise exception #43

Closed tachengxmu closed 5 years ago

tachengxmu commented 5 years ago

with version 2.0.2. on centos 7.4 anaconda2 conda 4.5.11 python 2.7.15

$ pyprophet score --threads=-1 ...

raise exception:

..../pyprophet/data_handling.py", line 30, in transform_threads value = multiprocessing.cpu_count() NameError: global name 'multiprocessing' is not defined

Thanks.

grosenberger commented 5 years ago

Thanks! Addressed in #44 and released as 2.0.3.