Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove sparse cython from setup.py
  • Loading branch information
adonath committed Nov 19, 2019
1 parent 3bee0b5 commit 11da9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gammapy/maps/tests/test_hpxmap.py
Expand Up @@ -79,7 +79,7 @@ def test_hpxmap_read_write(tmp_path, nside, nested, coordsys, region, axes):

m = create_map(nside, nested, coordsys, region, axes)
fill_poisson(m, mu=0.5, random_state=0)
m.write(path, overwrite=True)
m.write(path, sparse=True, overwrite=True)

m2 = HpxNDMap.read(path)
m4 = Map.read(path, map_type="hpx")
Expand All @@ -97,7 +97,7 @@ def test_hpxmap_read_write(tmp_path, nside, nested, coordsys, region, axes):
assert_allclose(m.data[...][msk], m4.data[...][msk])

# Specify alternate HDU name for IMAGE and BANDS table
m.write(path, hdu="IMAGE", hdu_bands="TEST", overwrite=True)
m.write(path, sparse=True, hdu="IMAGE", hdu_bands="TEST", overwrite=True)
m2 = HpxNDMap.read(path)
m3 = Map.read(path)
m4 = Map.read(path, map_type="hpx")
Expand Down
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -26,7 +26,6 @@ def make_cython_extension(filename):

cython_files = [
"gammapy/detect/_test_statistics_cython.pyx",
"gammapy/maps/_sparse.pyx",
"gammapy/stats/fit_statistics_cython.pyx",
]

Expand Down

0 comments on commit 11da9b7

Please sign in to comment.