Closed vorugantia closed 7 years ago
I don't see why my changes to the code should make travis-ci fail... I will investigate later.
travis-ci fails are unrelated, I'll fix in master. Merging this now.
I think the problem is here: https://travis-ci.org/gammapy/gamma-sky/builds/275265978#L2968
cat = SourceCatalog3FHL(filename='input_data/3fhl.fits.gz')
table = Table.read(filename, hdu='LAT_Point_Source_Catalog')
With the version of Astropy being used now (Astropy 2.0.2, can be seen further up in the build log), one has to explicitly pass format='fits'
to Table.read
, the FITS file type is no longer inferred if the extension is .fits.gz
.
This is just a guess, but I'll see if it's the case and fix in Gammapy.
3FHL error should be fixed in f88f5bdc743923c681bd3bb8be77ded17be25f15 .
The search field now includes the
gamma_names
,fermi_names
, andother_names
of sources in the TeV catalog. This PR addresses #90 .