diff --git a/gwcelery/tasks/external_skymaps.py b/gwcelery/tasks/external_skymaps.py index 6081b14eb7c2a144fbc4e7cdc131198a2152c6ed..779bbb00ca8c2aa28c3bebe864e9aa64529ad3e4 100644 --- a/gwcelery/tasks/external_skymaps.py +++ b/gwcelery/tasks/external_skymaps.py @@ -38,9 +38,10 @@ def create_combined_skymap(se_id, ext_id): message_png = ( 'Mollweide projection of <a href="/api/events/{graceid}/files/' '{filename}">{filename}</a>').format( - graceid=se_id, filename=new_skymap_filename + '-ext.multiorder.fits') + graceid=se_id, + filename=new_skymap_filename + '-ext.multiorder.fits') - ( + ( _download_skymaps.si( se_skymap_filename, ext_skymap_filename, se_id, ext_id ) @@ -48,12 +49,12 @@ def create_combined_skymap(se_id, ext_id): combine_skymaps.s() | group( - gracedb.upload.s(new_skymap_filename + '-ext.multiorder.fits', se_id, + gracedb.upload.s('gw-ext.multiorder.fits', se_id, message, ['sky_loc', 'public']), skymaps.plot_allsky.s() | - gracedb.upload.s(new_skymap_filename + '-ext.png', se_id, + gracedb.upload.s('gw-ext.png', se_id, message_png, ['sky_loc', 'ext_coinc', 'public']) ) ).delay()