Skip to content

Commit

Permalink
FileIO reigstration now complete
Browse files Browse the repository at this point in the history
  • Loading branch information
sefffal committed Aug 5, 2022
1 parent b532b1b commit e867c12
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AstroAngles = "0.1"
ColorSchemes = "3.18"
DimensionalData = "0.20.8"
FITSIO = "0.16"
FileIO = "1.14"
FileIO = "1.15"
ImageAxes = "0.6"
ImageBase = "^0.1.5"
ImageShow = "0.3"
Expand Down
13 changes: 0 additions & 13 deletions src/AstroImages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -536,18 +536,5 @@ include("contrib/abstract-ffts.jl")
include("ccd2rgb.jl")
include("precompile.jl")

function __init__()

# TODO: This should be registered correctly with FileIO
del_format(format"FITS")
add_format(format"FITS",
# See https://www.loc.gov/preservation/digital/formats/fdd/fdd000317.shtml#sign
[0x53,0x49,0x4d,0x50,0x4c,0x45,0x20,0x20,0x3d,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x54],
[".fit", ".fits", ".fts", ".FIT", ".FITS", ".FTS", ".fit",],
[:FITSIO => UUID("525bcba6-941b-5504-bd06-fd0dc1a4d2eb")],
[:AstroImages => UUID("fe3fc30c-9b16-11e9-1c73-17dabf39f4ad")]
)

end

end # module

0 comments on commit e867c12

Please sign in to comment.