Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to turn off print out messages for identifiability analysis? #235

Closed
TorkelE opened this issue Nov 7, 2023 · 4 comments
Closed

Comments

@TorkelE
Copy link
Member

TorkelE commented Nov 7, 2023

Function like assess_identifiability prints out a large number of messages. Is it possible to turn this prints off, e.g. using verbose=false? I tried looking, but did not find any mentions of such a feature.

@sumiya11
Copy link
Collaborator

sumiya11 commented Nov 7, 2023

I think verbose=true/false is a good idea

@pogudingleb
Copy link
Collaborator

I agree, we should do this

@pogudingleb
Copy link
Collaborator

@TorkelE
We have implemented this starting from 0.4.15 (will make a release right away). Now all main functions like assess_identifiability accept keyword argument loglevel which can be one of the levels from Logging. Therefore, you can suppress logs by setting loglevel=Logging.Error.
For more internal functions like preprocess_ode, you can write StructuralIdentifiability.restart_logging(loglevel=Logging.Error).

@TorkelE
Copy link
Member Author

TorkelE commented Nov 14, 2023

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants