Closed jiseonmin closed 6 months ago
Will do, will be in SLiM 4.2. :->
OK, this has been pushed. You can now do:
catn("-------------\n");
catn(defaults.serialize("pretty"));
catn("-------------\n");
to get something similar (although not identical) to what you were printing before. Let me know if there are any problems with this; until it is released in SLiM 4.2, I can make changes to it as needed. :->
Hi Ben,
I am suggesting adding a pretty option to
serialize()
based on our discussion in https://github.com/kr-colab/spatial_sims_standard/pull/7Something like:
for a dictionary called
defaults