printfile seems like a nice convenience function to have to me. I know that it's kindof redundant, but it really simplifies the package use when you just want to dump something to JSON (e.g. bioinformaticians won't need to think about how to construct the lambda in open :] ). API-wise I find it nicely complementary to parsefile.
Hello,
printfile
seems like a nice convenience function to have to me. I know that it's kindof redundant, but it really simplifies the package use when you just want to dump something to JSON (e.g. bioinformaticians won't need to think about how to construct the lambda inopen
:] ). API-wise I find it nicely complementary toparsefile
.Closes #325
Also closes https://github.com/LCSB-BioCore/COBREXA.jl/issues/397 (a typical usecase.)
I'm not sure if
printfile
name is the best one, feel free to change/suggest a better one.Thanks & best, -mk