Skip to content

Commit

Permalink
fix undeclared extendedsrcname
Browse files Browse the repository at this point in the history
  • Loading branch information
zblz committed Feb 23, 2015
1 parent 9f0412e commit b808584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enrico/xml_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit b808584

Please sign in to comment.