soft-matter / trackpy

Python particle tracking toolkit
http://soft-matter.github.io/trackpy
Other
442 stars 131 forks source link

Silencing print statments in link_df #662

Closed loomcode closed 3 years ago

loomcode commented 3 years ago

I'm running a multiprocessing pool where trackpy is called and the link_df function logger prints a line for each frame. This adds up to several thousand print calls in my code. It would be nice if there were a verbose=False argument to turn this off. For now I'll just find the line and comment it. Thanks.

nkeim commented 3 years ago

Have you tried trackpy.quiet()?

loomcode commented 3 years ago

Perfect. Thanks!