From cd919b1c5bf2068533a8a469fc27fc48a884ef7d Mon Sep 17 00:00:00 2001 From: David Rafferty <drafferty@hs.uni-hamburg.de> Date: Thu, 29 Aug 2019 10:07:33 +0200 Subject: [PATCH] Fix Dec index --- lsmtool/tableio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsmtool/tableio.py b/lsmtool/tableio.py index 5411f48..cb8fdc1 100644 --- a/lsmtool/tableio.py +++ b/lsmtool/tableio.py @@ -446,7 +446,7 @@ def processLine(line, metaDict, colNames): patchRA = RA2Angle(colLines[RAIndx].strip()) DecIndx = colNames.index('Dec') if colLines[DecIndx].strip() == '': - patchRA = [0.0] + patchDec = [0.0] else: patchDec = Dec2Angle(colLines[DecIndx].strip()) metaDict[patchName] = [patchRA[0], patchDec[0]] -- GitLab