Skip to content

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

Description

@mathurinm

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
  • No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions