Skip to content

Commit 32c8bcf

Browse files
committed
Update timestamps for datasets
1 parent 2d59508 commit 32c8bcf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/inference_data.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ julia> idata_cat1.posterior
312312
:b eltype: Float64 dims: draw, chain size: 100×8
313313
├────────────────────────────────────────────────── metadata ┤
314314
Dict{String, Any} with 1 entry:
315-
"created_at" => "2024-03-11T14:10:48.434"
315+
"created_at" => "2025-02-04T10:49:16.704"
316316
```
317317
318318
Alternatively, we can concatenate along a new `run` dimension, which will be created.
@@ -334,7 +334,7 @@ julia> idata_cat2.posterior
334334
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
335335
├──────────────────────────────────────────────────────────── metadata ┤
336336
Dict{String, Any} with 1 entry:
337-
"created_at" => "2024-03-11T14:10:48.434"
337+
"created_at" => "2025-02-04T10:49:16.704"
338338
```
339339
340340
We can also concatenate only a subset of groups and merge the rest, which is useful when
@@ -366,7 +366,7 @@ julia> idata_cat3.posterior
366366
:b eltype: Float64 dims: draw, chain, run size: 100×4×2
367367
├──────────────────────────────────────────────────────────── metadata ┤
368368
Dict{String, Any} with 1 entry:
369-
"created_at" => "2024-03-11T14:10:48.434"
369+
"created_at" => "2025-02-04T10:49:16.704"
370370
371371
julia> idata_cat3.observed_data
372372
┌ 10-element Dataset ┐
@@ -376,7 +376,7 @@ julia> idata_cat3.observed_data
376376
:y eltype: Float64 dims: y_dim_1 size: 10
377377
├────────────────────────────────────────────┴ metadata ┐
378378
Dict{String, Any} with 1 entry:
379-
"created_at" => "2024-03-11T14:10:53.539"
379+
"created_at" => "2025-02-04T10:49:16.71"
380380
```
381381
"""
382382
function Base.cat(data::InferenceData, others::InferenceData...; groups=keys(data), dims)

0 commit comments

Comments
 (0)