diff --git a/gwcelery/tasks/external_skymaps.py b/gwcelery/tasks/external_skymaps.py index 7dd1aca1e970d7e047fdda67c40d86d3963e5656..ff79f8a8f9df93cb36f2e7c9e468275ed86186b1 100644 --- a/gwcelery/tasks/external_skymaps.py +++ b/gwcelery/tasks/external_skymaps.py @@ -122,9 +122,9 @@ def combine_skymaps(skymapfilesbytes): # Weight GW prob density by external sky map probabilities gw_sky['PROBDENSITY'] *= ext_sky[ext_ind] gw_sky['PROBDENSITY'] /= np.sum(gw_sky['PROBDENSITY'] * areas).value - + # Modify GW sky map with new data - write_sky_map(combinedskymap.name, gw_skymap) + write_sky_map(combinedskymap.name, gw_sky) return combinedskymap.read()