GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 105 forks source link

Add option to skip failures in stamp processing. #1238

Closed rmjarvis closed 1 year ago

rmjarvis commented 1 year ago

This PR adds a new option in stamp processing, skip_failures, which will skip an object if some exception is raised during processing. This is similar in spirit to the existing retry_failures, but more appropriate when the potential cause of failure is from an input catalog rather than a random value, so no amount of retrying would resolve the problem.