Skip to content

Commit e6e1a7a

Browse files
author
David Turner
committed
Added a missing erass entry to the pattern variable in get_lightcurves
Signed-off-by: David Turner <djturner@umbc.edu>
1 parent 0c10df4 commit e6e1a7a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

xga/sources/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This code is part of X-ray: Generate and Analyse (XGA), a module designed for the XMM Cluster Survey (XCS).
2-
# Last modified by David J Turner (djturner@umbc.edu) 5/6/26, 10:38 AM. Copyright (c) The Contributors.
2+
# Last modified by David J Turner (djturner@umbc.edu) 5/6/26, 6:00 PM. Copyright (c) The Contributors.
33

44
import contextlib
55
import gc
@@ -3727,7 +3727,8 @@ def get_lightcurves(self, outer_radius: Union[str, Quantity] = None, obs_id: str
37273727
if pattern is None:
37283728
patt_search = "_pattern"
37293729
elif isinstance(pattern, str):
3730-
pattern = {'xmm': {'pn': '<=4', 'mos': '<=12'}, 'erosita': {'tm': '15', 'combined': '15'}}
3730+
pattern = {'xmm': {'pn': '<=4', 'mos': '<=12'}, 'erosita': {'tm': '15', 'combined': '15'},
3731+
'erass': {'tm': '15', 'combined': '15'}}
37313732
patt_search = {inst: "_pattern" + check_pattern(patt, telescope)[1]
37323733
for inst, patt in pattern[telescope].items()}
37333734
elif isinstance(pattern, dict):

0 commit comments

Comments
 (0)