AuReMe / mpwt

Pathway Tools multiprocessing wrapper (for PathoLogic).
GNU Lesser General Public License v3.0
14 stars 0 forks source link

Replace Pool map by starmap. #51

Closed ArnaudBelcour closed 4 years ago

ArnaudBelcour commented 4 years ago

To have understandable function inputs for run_pwt, run_pwt_dat and some other functions, we can use Pool starmap instead of map.

Pool starmap allows to have multiple arguments in function whereas map allows only one argument.

But starmap is only avaialbe in Python version superior to 3.3. With the release of version 0.5.7, mpwt drops support for the version of Python inferior to 3.3.

Begin in 4384094.

ArnaudBelcour commented 4 years ago

Added in #55.