dsavransky / EXOSIMS

Simulator for exoplanet direct imaging space missions
BSD 3-Clause "New" or "Revised" License
25 stars 35 forks source link

fixes to 3 bugs #359

Closed dsavransky closed 1 year ago

dsavransky commented 1 year ago

Describe your changes

  1. In Observatory Prototype, refuel_tank did not work as expected (no mass added to main tank) in the case where tank=None (e.g. twotanks=False).
  2. In tieredScheduler, two separate filtering steps in the init could produce array indexing errors. these have been combined into a single step.
  3. In the Mennesson ZodiacalLight implementation, if the EZ_distribution input did not point to a valid file, the code would fail with an uninformative error. This has been replaced with an explicit ValueError exception being raised with an appropriate message.

Type of change

Reference any relevant issues (don't forget the #)

Checklist before requesting a review