esi-neuroscience / acme

Asynchronous Computing Made ESI
https://esi-acme.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
11 stars 2 forks source link

Add dryrun keyword to ParallelMap #39

Closed pantaray closed 2 years ago

pantaray commented 2 years ago

In some cases argument distribution to user-provided functions can be quite tricky. The possibility to test-drive ACME's automatically generated argument lists prior to the actual concurrent computation might be helpful in these situations: add a Boolean keyword dryrun to ParallelMap which performs a (sequential) call of func using pmap.argv[0]