Commit 35d68693f97666d01654d8b86dab8b51648f2c53

Authored by Jürgen Knödlseder
1 parent 6859d6f1

Correctly use exclusion map csphagen::exclusion_map() method

Showing 1 changed file with 2 additions and 2 deletions
cscripts/csphagen.py
... ... @@ -899,10 +899,10 @@ class csphagen(ctools.csobservation):
899 899 """
900 900 # If a regions object is provided then set the regions ...
901 901 if object is not None:
902   - self._excl_reg_map = gammalib.GSkyRegionMap(object)
  902 + self._excl_reg = gammalib.GSkyRegionMap(object)
903 903  
904 904 # Return
905   - return self._excl_reg_map
  905 + return self._excl_reg
906 906  
907 907  
908 908 # ======================== #
... ...