# Suppressing Info blocks from StructuralIdentifiability

**URL:** <https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388>\
**Category:** Statistics\
**Created:** [April 12, 2022, 12:54pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388 "2022-04-12T12:54:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bendkok](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bendkok/32/35394_2.png) [@bendkok](https://discourse.julialang.org/u/bendkok)\
**Post date:** [April 12, 2022, 12:54pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/1 "2022-04-12T12:54:04Z")

</div>

Hi.

I’m using the Julia package StructuralIdentifiability. To use it we first define an ODE-model, and then check the identifiability of its parameters. When I do either of those it prints these “Info:” blocks that take up a lot of space, but which I’m not that interested in. Is there a way to suppress or hide these/to have them not appear?  
Any help would appreciated.

Here is an example of what I’m talking about:  
Input:

```julia
ode_fhn = @ODEmodel(
    v'(t) = v - v*v*v - w + I_ext,
    w'(t) = (v - a - b*w)/tau,
    y(t) = v(t)
)

```

Output:

```julia
┌ Info: Summary of the model:
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/ODE.jl:303
┌ Info: State variables: w, v
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/ODE.jl:304
┌ Info: Parameters: I_ext, a, b, tau
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/ODE.jl:305
┌ Info: Inputs: 
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/ODE.jl:306
┌ Info: Outputs: y
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/ODE.jl:307

v'(t) = I_ext - w(t) - v(t)^3 + v(t)
w'(t) = (-w(t)*b - a + v(t))//tau
y(t) = v(t)

```

Input:

```julia
print(assess_identifiability(ode_fhn))

```

Output (only the first line here is relevant for me):

```julia
Dict{Any, Symbol}(I_ext => :nonidentifiable, a => :nonidentifiable, b => :globally, tau => :globally)

┌ Info: Assessing local identifiability
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/StructuralIdentifiability.jl:99
┌ Info: Local identifiability assessed in 0.0034953 seconds
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/StructuralIdentifiability.jl:101
┌ Info: Assessing global identifiability
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/StructuralIdentifiability.jl:117
┌ Info: Computing IO-equations
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:200
┌ Info: Computed in 0.0015555 seconds
│ :ioeq_time = ioeq_time
│ ioeq_time = 0.0015555
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:203
┌ Info: Computing Wronskians
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:206
┌ Info: Computed in 0.0016289 seconds
│ :wrnsk_time = wrnsk_time
│ wrnsk_time = 0.0016289
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:208
┌ Info: Dimensions of the wronskians [4]
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:212
┌ Info: Ranks of the Wronskians computed in 1.38e-5 seconds
│ :rank_time = rank_time
│ rank_times = 1.38e-5
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:217
┌ Info: Assessing global identifiability using the coefficients of the io-equations
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:224
┌ Info: Computed in 0.0017633 seconds
│ :check_time = check_time
│ check_time = 0.0017633
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/global_identifiability.jl:226
┌ Info: Global identifiability assessed in 0.0053466 seconds
└ @ StructuralIdentifiability /home/jovyan/.julia/packages/StructuralIdentifiability/bRtkP/src/StructuralIdentifiability.jl:119

```

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [April 12, 2022, 3:46pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/2 "2022-04-12T15:46:41Z")

</div>

Open an issue.

---

<div class="post-metadata">

**Author:** ![bendkok](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bendkok/32/35394_2.png) [@bendkok](https://discourse.julialang.org/u/bendkok)\
**Post date:** [April 12, 2022, 6:07pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/3 "2022-04-12T18:07:23Z")

</div>

What do you mean?

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [April 12, 2022, 6:18pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/4 "2022-04-12T18:18:48Z")

</div>

He probably means: please add an issue report at [github](https://github.com/SciML/StructuralIdentifiability.jl/issues) and we will come back to you as soon as possible.

---

<div class="post-metadata">

**Author:** ![bendkok](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bendkok/32/35394_2.png) [@bendkok](https://discourse.julialang.org/u/bendkok)\
**Post date:** [April 12, 2022, 6:34pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/5 "2022-04-12T18:34:22Z")

</div>

Ok, I’ll do that then.

---

<div class="post-metadata">

**Author:** ![bendkok](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bendkok/32/35394_2.png) [@bendkok](https://discourse.julialang.org/u/bendkok)\
**Post date:** [April 12, 2022, 7:59pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/6 "2022-04-12T19:59:38Z")

</div>

Got an answer here: [Suppressing Info blocks · Issue #95 · SciML/StructuralIdentifiability.jl · GitHub](https://github.com/SciML/StructuralIdentifiability.jl/issues/95)

For posterity I’ll copypaste the answer here:

> Yes, you can disable logging by adding the following lines at the beginning

```julia
using Logging
Logging.disable_logging(Logging.Info)

```

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [April 12, 2022, 8:04pm UTC](https://discourse.julialang.org/t/suppressing-info-blocks-from-structuralidentifiability/79388/7 "2022-04-12T20:04:13Z")

</div>

> [@bendkok](#):
>
> ```julia
> using Logging
> Logging.disable_logging(Logging.Info)
> 
> ```

I believe this is an answer with caveats: with this you are restricting all Julia modules to only show warnings or errors?
