Skip to content

Commit

Permalink
setting stack=false, execute=false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Pilling committed Aug 17, 2023
1 parent 95e3f2b commit cb2c109
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xga/generate/esass/phot.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def evtool_image(sources: Union[BaseSource, NullSource, BaseSample], lo_en: Quan
:param int num_cores: The number of cores to use, default is set to 90% of available.
:param bool disable_progress: Setting this to true will turn off the SAS generation progress bar.
"""
stack = False
execute = True

# Checking user's choice of energy limit parameters
if not isinstance(lo_en, Quantity) or not isinstance(hi_en, Quantity):
raise TypeError("The lo_en and hi_en arguments must be astropy quantities in units "
Expand Down

0 comments on commit cb2c109

Please sign in to comment.