Skip to content

Compatibility with DrWatson.jl #2831

Discussion options

You must be logged in to vote

Nevermind, I think I got it. The modification is as follows:

    function init_jld2!(file, model)
        output_dict = Dict{Symbol,Any}()
        tag!(output_dict)
        for (k, v) in output_dict
            file[string(k)] = v
        end
        for (k, v) in d
            file[string(k)] = v
        end
    end

I'll close this but please let me know if there's a better way to use these two packages together.

Cheers,
Miles

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by MilesCranmer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@glwagner
Comment options

@glwagner
Comment options

@MilesCranmer
Comment options

@MilesCranmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2829 on November 18, 2022 02:51.