SciML / StructuralIdentifiability.jl

Fast and automatic structural identifiability software for ODE systems
https://docs.sciml.ai/StructuralIdentifiability/stable/
MIT License
111 stars 17 forks source link

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

Closed TorkelE closed 11 months ago

TorkelE commented 11 months ago

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 commented 11 months ago

I think verbose=true/false is a good idea

pogudingleb commented 11 months ago

I agree, we should do this

pogudingleb commented 11 months ago

@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 commented 11 months ago

Thanks :)