From 7378ad1944e4e5135ca4cd7bd502c8a545a92882 Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Thu, 17 Jan 2019 10:43:31 -0500 Subject: [PATCH] Remove more cruft in check_hot_pix --- starcheck/src/lib/Ska/Starcheck/Obsid.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/starcheck/src/lib/Ska/Starcheck/Obsid.pm b/starcheck/src/lib/Ska/Starcheck/Obsid.pm index c88a9e15..fdd467d0 100644 --- a/starcheck/src/lib/Ska/Starcheck/Obsid.pm +++ b/starcheck/src/lib/Ska/Starcheck/Obsid.pm @@ -65,15 +65,9 @@ def check_hot_pix(idxs, yags, zags, mags, types, t_ccd, date, dither_y, dither_z a 'status' key that has value 0 if the code to get the imposter mag ran successfully, calculated centroid offset, and star or fid info to make a warning. """ - idxs = [idx for idx in idxs] - yags = [yag for yag in yags] - zags = [zag for zag in zags] - mags = [mag for mag in mags] + types = [t.decode('ascii') for t in types] - t_ccd = t_ccd date = date.decode('ascii') - dither_y = dither_y - dither_z = dither_z dark = aca_dark.get_dark_cal_image(date=date, t_ccd_ref=t_ccd, aca_image=True)