biocore / songbird

Vanilla regression methods for microbiome differential abundance analysis
BSD 3-Clause "New" or "Revised" License
58 stars 25 forks source link

Suppress all output while running multinomial #105

Closed gibsramen closed 4 years ago

gibsramen commented 4 years ago

Is there a simple way to suppress all output from multinomial? I know in Jupyter you can do a %%capture but I would like to be able to suppress the deprecation errors and tqdm output on the command line.

mortonjt commented 4 years ago

At the moment, no. But this shouldn't be too hard to enable with the warnings module. https://docs.python.org/3/library/warnings.html#overriding-the-default-filter

Contributions welcome.

gibsramen commented 4 years ago

Thanks! I agree it shouldn't be too hard - will work on adding this and submit a PR.

fedarko commented 4 years ago

This is closed now that #106 has been merged in (apparently "Addresses" isn't a strong enough word to make GitHub auto-close an issue...)

Thanks @gibsramen!