brycefrank / pyfor

Tools for analyzing aerial point clouds of forest data.
MIT License
93 stars 19 forks source link

Add ability to pass additional arguments through par_apply #74

Closed brycefrank closed 4 years ago

brycefrank commented 4 years ago

As it stands, it is difficult to pass additional information through par_apply. Adding **kwds would be useful here

https://github.com/brycefrank/pyfor/blob/1700e58040b91c5f6604239886ca8abe27c03e90/pyfor/collection.py#L116

brycefrank commented 4 years ago

Something like this should work:

https://stackoverflow.com/questions/23484091/pass-kwargs-if-not-none http://downloads.niceware.com/TECH-pdf/PythonStyle-Writing_idiomatic_python_3.pdf p. 11

brycefrank commented 4 years ago

Implemented here: e197e0e