DFTK.jl icon indicating copy to clipboard operation
DFTK.jl copied to clipboard

Saving scfres to JSON should pretty-print

Open Technici4n opened this issue 10 months ago • 1 comments

The call in AiidaDFTK: save_scfres("self_consistent_field.json", scfres; save_ψ=false, save_ρ=false). This does not pretty-print the output which makes it unreadable by human eyes. Note that pretty-printing might increase the file size.

Technici4n avatar Jan 15 '25 08:01 Technici4n

File size has been my main reason for not doing it. If you show its not too big a deal we can think about it.

mfherbst avatar Jan 15 '25 12:01 mfherbst