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

Display formatting error #98

Open
LilithHafner opened this issue Dec 19, 2021 · 1 comment
Open

Display formatting error #98

LilithHafner opened this issue Dec 19, 2021 · 1 comment

Comments

@LilithHafner
Copy link

When displaying only three slices, but there are only two slices along the diagonal, a couple newlines are missing:

julia> rand(2,2,2,2,2,2,2) |> wrapdims
7-dimensional KeyedArray(...) with keys:
↓   2-element OneTo{Int}
→   2-element OneTo{Int}
◪   2-element OneTo{Int}
▨   2-element OneTo{Int}
▨   2-element OneTo{Int}
▨   2-element OneTo{Int}
▨   2-element OneTo{Int}
And data, 2×2×2×2×2×2×2 Array{Float64, 7}:
[showing 3 of 32 slices]
[:, :, 1, 1, 1, 1, 1] ~ (:, :, 1, 1, 1, 1, 1):
      (1)         (2)
 (1)    0.143204    0.251809
 (2)    0.432273    0.776817

[:, :, 2, 2, 2, 2, 2] ~ (:, :, 2, 2, 2, 2, 2):
      (1)          (2)
 (1)    0.10484      0.153142                                                     #===================#
 (2)    0.0897166    0.766894[:, :, 2, 2, 2, 2, 2] ~ (:, :, 2, 2, 2, 2, 2): # <---- Here is the problem
      (1)          (2)                                                            #===================#
 (1)    0.10484      0.153142
 (2)    0.0897166    0.766894

julia> julia> using AxisKeys; rand(2,2,2,2,2,3,2) |> wrapdims
7-dimensional KeyedArray(...) with keys:
↓   2-element OneTo{Int}
→   2-element OneTo{Int}
◪   2-element OneTo{Int}
▨   2-element OneTo{Int}
▨   2-element OneTo{Int}
▨   3-element OneTo{Int}
▨   2-element OneTo{Int}
And data, 2×2×2×2×2×3×2 Array{Float64, 7}:
[showing 3 of 48 slices]
[:, :, 1, 1, 1, 1, 1] ~ (:, :, 1, 1, 1, 1, 1):
      (1)         (2)
 (1)    0.142343    0.701584
 (2)    0.653471    0.504314

[:, :, 2, 2, 2, 2, 2] ~ (:, :, 2, 2, 2, 2, 2):
      (1)         (2)
 (1)    0.782924    0.948197
 (2)    0.807271    0.14883

[:, :, 2, 2, 2, 3, 2] ~ (:, :, 2, 2, 2, 3, 2):
      (1)          (2)
 (1)    0.0485772    0.306637
 (2)    0.58494      0.847874```
@mcabbott
Copy link
Owner

Thanks, I can reproduce this, it's a bug of some sort.

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

2 participants