Skip to content

Commit

Permalink
Merge pull request #317 from nasa-fornax/fix-312
Browse files Browse the repository at this point in the history
fix np.savez for the list of tuples in multiband_photometry
  • Loading branch information
bsipocz authored Aug 26, 2024
2 parents 703fd4c + 358a4a7 commit 3245cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forced_photometry/multiband_photometry.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ else:
with Pool() as pool:
results = pool.map(calculate_flux, paramlist)
dtime = time.time() - t0
np.savez(fname, results=results)
np.savez(fname, results=np.array(results, dtype=object))
print(f'Parallel calculation took {dtime} seconds')
```

Expand Down

0 comments on commit 3245cbd

Please sign in to comment.