Skip to content

Commit

Permalink
Merge pull request #69 from zblz/fix-extendedsrcname
Browse files Browse the repository at this point in the history
fix undeclared extendedsrcname
  • Loading branch information
davidsanchez committed Feb 23, 2015
2 parents 9f0412e + b808584 commit db1d9e4
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 db1d9e4

Please sign in to comment.