From b8085843096e9c8e888555355c1f345870d17705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Zabalza?= Date: Mon, 23 Feb 2015 14:55:16 +0000 Subject: [PATCH] fix undeclared extendedsrcname --- enrico/xml_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enrico/xml_model.py b/enrico/xml_model.py index c42f056..554352a 100755 --- a/enrico/xml_model.py +++ b/enrico/xml_model.py @@ -308,10 +308,10 @@ def GetlistFromFits(config, catalog): extendedfits = cfile[5].data.field('Spatial_Filename') extendedsrcname = cfile[5].data.field('Source_Name') except: - mes.warning("Cannot find th extended source list: please check the xml") + mes.warning("Cannot find the extended source list: please check the xml") extendedName = np.array(names.size*[""]) + extendedsrcname = [] - sigma = data.field('Signif_Avg')