Skip to content

Commit

Permalink
Merge pull request #1613 from bhilbert4/filename-parser-new-niriss-file
Browse files Browse the repository at this point in the history
Add new NIRISS AMI-related suffixes
  • Loading branch information
mfixstsci authored Jul 9, 2024
2 parents 201c282 + 8d341f4 commit f9f24b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jwql/utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@
]

# Possible suffix types for AMI files
NIRISS_AMI_SUFFIX_TYPES = ["amiavg", "aminorm", "ami", "psf-amiavg"]
NIRISS_AMI_SUFFIX_TYPES = ["amiavg", "aminorm", "ami", "psf-amiavg", "psf-ami-oi", "ami-oi", "aminorm-oi", "amimulti-oi", "amilg"]

# Determine if the code is being run as part of CI checking on github
ON_GITHUB_ACTIONS = '/home/runner' in os.path.expanduser('~') or '/Users/runner' in os.path.expanduser('~')
Expand Down
3 changes: 2 additions & 1 deletion jwql/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,8 @@ def filename_parser(filename):
time_series,
time_series_2c,
guider,
guider_segment]
guider_segment
]

filename_type_names = [
'stage_1_and_2',
Expand Down

0 comments on commit f9f24b8

Please sign in to comment.