ModOpt icon indicating copy to clipboard operation
ModOpt copied to clipboard

[NEW FEATURE] add a way to silence import warning errors

Open mathurinm opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I don't have astropy installed and don't plan on installing it: I get a lot of "WARNING: astropy not found, will default to scipy for convolution" that I'd like to silence when I run benchopt.

Describe the solution you'd like If the warning was of a specific class I could ignore it, or there could be a way to globally configure modopt warning level ?

Are you planning to submit a Pull Request?

  • [ ] Yes
  • [X] No

mathurinm avatar May 12 '22 07:05 mathurinm