Commit 985680b2bf7ab656061619281663f3885a04d89c

Authored by Jürgen Knödlseder
1 parent 3807b28f

Correct argument of error massage

Showing 1 changed file with 2 additions and 1 deletions
cscripts/csphagen.py
@@ -614,7 +614,8 @@ class csphagen(ctools.csobservation): @@ -614,7 +614,8 @@ class csphagen(ctools.csobservation):
614 msg = ' Skip because the number %d of regions' \ 614 msg = ' Skip because the number %d of regions' \
615 'for background estimation not overlapping ' \ 615 'for background estimation not overlapping ' \
616 'with the exclusion region is smaller than ' \ 616 'with the exclusion region is smaller than ' \
617 - '"bkgregmin"=%d.' % (bkg_reg.size(), self['bkgregmin'].integer()) 617 + '"bkgregmin"=%d.' % \
  618 + (regions.size(), self['bkgregmin'].integer())
618 self._log_string(gammalib.NORMAL, msg) 619 self._log_string(gammalib.NORMAL, msg)
619 regions = gammalib.GSkyRegions() 620 regions = gammalib.GSkyRegions()
620 621