Skip to content
Snippets Groups Projects
Commit 2f1731e4 authored by Brandon Piotrzkowski's avatar Brandon Piotrzkowski
Browse files

Fix tuple bug

parent 0ce2e59e
No related branches found
No related tags found
No related merge requests found
......@@ -90,11 +90,12 @@ def _download_skymaps(se_filename, ext_filename, se_id, ext_id):
@app.task(shared=False)
def combine_skymaps(skymap1filebytes, skymap2filebytes):
def combine_skymaps(skymapfilesbytes):
"""This task combines the two input skymaps, in this case the external
trigger skymap and the LVC skymap and writes to a temporary output file. It
then returns the contents of the file as a byte array.
"""
skymap1filebytes, skymap2filebytes = skymapbytes
with NamedTemporaryFile(mode='rb', suffix='.fits.gz') as combinedskymap, \
NamedTemporaryFile(content=skymap1filebytes) as skymap1file, \
NamedTemporaryFile(content=skymap2filebytes) as skymap2file, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment