JuliaDynamics/DrWatson.jl

Savename expand for nested structs is not working

Open

#215 opened on Nov 19, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Julia (94 forks)batch import
buggood first issuesavename

Repository metrics

Stars
 (915 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

As savename works for structs, I think it should also be possible to expand them. This doesn't work at the moment because of https://github.com/JuliaDynamics/DrWatson.jl/blob/1eece239953ab2a5aa6de1c9cb67236df0665264/src/naming.jl#L119 which, unless defined for the struct, throws an error for non-iterable types.

Contributor guide