Skip to content

Commit

Permalink
ENH support eval for gsobject
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Oct 7, 2023
1 parent 7c663a8 commit 323e90a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions eastlake/steps/pizza_cutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,6 @@ def _prep_input_config_and_info_file(self, tilename, band, stash, odir, allbands
else:
pzyml["single_epoch"]["psf_type"] = "galsim"

# do this check to ensure things are ~constant
# not perfect but ok
for size_key in ["half_light_radius", "sigma", "fwhm"]:
if size_key in stash["psf_config"]:
try:
float(stash["psf_config"][size_key])
except ValueError as e:
self.logger.error(
"couldn't interpret psf %s "
"as float" % (size_key))
raise e
break

# write the config info for later
with stash.update_output_pizza_cutter_yaml(tilename, band) as pyml:
for i in range(len(pyml["src_info"])):
Expand Down

0 comments on commit 323e90a

Please sign in to comment.