Skip to content

Commit

Permalink
+ hsc
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobic committed Aug 7, 2021
1 parent 2fff081 commit bda5bd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions redmapper/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,8 @@ def _galfile_stats(self):
gal_stats['survey_mode'] = 5
elif hdrmode == 'SM':
gal_stats['survey_mode'] = 6
elif hdrmode == 'HSC':
gal_stats['survey_mode'] = 7
else:
raise ValueError("Input galaxy file with unknown mode: %s" % (hdrmode))

Expand Down Expand Up @@ -749,6 +751,8 @@ def _galfile_stats(self):
gal_stats['survey_mode'] = 5
elif (mode == 'SM'):
gal_stats['survey_mode'] = 6
elif (mode == 'HSC'):
gal_stats['survey_mode'] = 7
else:
raise ValueError("Input galaxy file with unknown mode: %s" % (mode))

Expand Down

0 comments on commit bda5bd6

Please sign in to comment.