Skip to content

Commit 74188c4

Browse files
committed
commit warnings from doctest fix
1 parent 1c53311 commit 74188c4

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed

EpiAware/src/EpiInfModels/ODEProcess.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ gen_mdl = fit_ode_model(missing)
154154
θ = rand(gen_mdl)
155155
test_data = (gen_mdl | θ)()
156156
nothing
157+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
158+
│ caller = ip:0x0
159+
└ @ Core :-1
160+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
161+
│ caller = ip:0x0
162+
└ @ Core :-1
157163
158164
# output
159165
@@ -229,6 +235,9 @@ expgrowth_model = ODEProcess(
229235
)
230236
infs = generate_latent_infs(expgrowth_model, nothing)()
231237
nothing
238+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
239+
│ caller = ip:0x0
240+
└ @ Core :-1
232241
233242
# output
234243
@@ -285,6 +294,9 @@ sir_process = ODEProcess(
285294
286295
generated_It = generate_latent_infs(sir_process, nothing)()
287296
nothing
297+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
298+
│ caller = ip:0x0
299+
└ @ Core :-1
288300
289301
# output
290302

EpiAware/src/EpiLatentModels/combinations/arima.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ ARIMA = arima()
2525
arima_model = generate_latent(ARIMA, 10)
2626
arima_model()
2727
nothing
28+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
29+
│ caller = ip:0x0
30+
└ @ Core :-1
2831
# output
2932
3033
```

EpiAware/src/EpiLatentModels/combinations/arma.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ ARMA = arma(;
2626
arma_model = generate_latent(ARMA, 10)
2727
arma_model()
2828
nothing
29+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
30+
│ caller = ip:0x0
31+
└ @ Core :-1
2932
# output
3033
```
3134
"""

EpiAware/src/EpiLatentModels/models/AR.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,18 @@ nothing
2020
mdl = generate_latent(ar, 10)
2121
mdl()
2222
nothing
23+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
24+
│ caller = ip:0x0
25+
└ @ Core :-1
2326
# output
2427
```
2528
2629
```jldoctest AutoRegressive; output = false
2730
rand(mdl)
2831
nothing
32+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
33+
│ caller = ip:0x0
34+
└ @ Core :-1
2935
# output
3036
```
3137
"

EpiAware/src/EpiLatentModels/models/HierarchicalNormal.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ mdl()
1919
2020
rand(mdl)
2121
nothing
22+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
23+
│ caller = ip:0x0
24+
└ @ Core :-1
25+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
26+
│ caller = ip:0x0
27+
└ @ Core :-1
2228
# output
2329
```
2430
"

EpiAware/src/EpiLatentModels/models/RandomWalk.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,18 @@ nothing
3434
mdl = generate_latent(rw, 10)
3535
mdl()
3636
nothing
37+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
38+
│ caller = ip:0x0
39+
└ @ Core :-1
3740
# output
3841
```
3942
4043
```jldoctest RandomWalk; output = false
4144
rand(mdl)
4245
nothing
46+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
47+
│ caller = ip:0x0
48+
└ @ Core :-1
4349
# output
4450
4551
```

0 commit comments

Comments
 (0)