ziotom78 / Healpix.jl

Healpix library written in Julia
GNU General Public License v2.0
51 stars 18 forks source link

readMapFromFITS() fails due to fits_open_table() not defined #31

Closed hsgg closed 3 years ago

hsgg commented 3 years ago

The package currently fails the "Map IO" test:

julia> using Healpix

julia> ]test Healpix
    Testing Healpix
...
Map I/O: Error During Test at /home/gebhardt/.julia/packages/Healpix/KzFuu/test/runtests.jl:44
  Got exception outside of a @test
  LoadError: UndefVarError: fits_open_table not defined
  Stacktrace:
   [1] readMapFromFITS(::String, ::Int64, ::Type{Float32}) at /home/gebhardt/.julia/packages/Healpix/KzFuu/src/map_io.jl:42
   [2] top-level scope at /home/gebhardt/.julia/packages/Healpix/KzFuu/test/test_mapio.jl:3
   [3] include(::String) at ./client.jl:457
   [4] top-level scope at /home/gebhardt/.julia/packages/Healpix/KzFuu/test/runtests.jl:45
   [5] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Test/src/Test.jl:1115
   [6] top-level scope at /home/gebhardt/.julia/packages/Healpix/KzFuu/test/runtests.jl:45
   [7] include(::String) at ./client.jl:457
   [8] top-level scope at none:6
   [9] eval(::Module, ::Any) at ./boot.jl:331
   [10] exec_options(::Base.JLOptions) at ./client.jl:272
   [11] _start() at ./client.jl:506
  in expression starting at /home/gebhardt/.julia/packages/Healpix/KzFuu/test/test_mapio.jl:3

Test Summary: | Error  Total
Map I/O       |     1      1
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/gebhardt/.julia/packages/Healpix/KzFuu/test/runtests.jl:44
ERROR: Package Healpix errored during testing

I am running Julia v1.5.0 on Linux Subsystem for Windows 2 (WSL2), and all packages are up-to-date. Thanks!

ziotom78 commented 3 years ago

Thanks a lot for the report, this has been fixed by #32 in master.