JuliaAstro / FITSIO.jl

Flexible Image Transport System (FITS) file support for Julia
http://juliaastro.org/FITSIO.jl/
MIT License
55 stars 29 forks source link

Loosening Dict Type #177

Closed andrew-saydjari closed 2 years ago

andrew-saydjari commented 2 years ago

I was wondering if it would be possible to loosen the restriction on table writing that we have Dict{String} to something like AbstractDict{String}. This would allow use of OrderedDict which have string keywords to write ordered tables (with basically no other changes to the code as far as I can see).

I see that the current recommendation is to just use the write column names function to maintain order, but if there is not a problem with the extension to OrderedDict, it might be a nice feature.