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

Empty array has children? #49

Closed
joshday opened this issue Feb 25, 2020 · 1 comment
Closed

Empty array has children? #49

joshday opened this issue Feb 25, 2020 · 1 comment

Comments

@joshday
Copy link
Contributor

joshday commented Feb 25, 2020

Is this an intentional change?

Previously, dots would not appear when the depth landed on a node that was an empty array.

julia> print_tree([[1,2],[]], 2)
Array{Array{Any,1},1}
├─ Array{Any,1}
│  ├─ 1
│  └─ 2
└─ Array{Any,1}

julia> print_tree([[1,2],[]], 1)
Array{Array{Any,1},1}
├─ Array{Any,1}
│  
│  
└─ Array{Any,1}
   
@jlumpe
Copy link
Collaborator

jlumpe commented Aug 30, 2021

Not sure when it was fixed, but this is no longer happening in the current release (0.3.4).

@jlumpe jlumpe closed this as completed Aug 30, 2021
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