numpy v1.24 expires the deprecation on ragged array creation. This had two impacts on EXOSIMS:
The DRM2array method in MissionSim sometimes created ragged arrays when parsing keywords allowing both None entries and variable length arrays. This was fixed by catching the value error generated and re-issuing the array command with dtype=object
The unit test for scheduleRevisit was erroneously passing sInd as a list instead of an int. This has been fixed.
Also adds minimum package versions for most dependencies.
Type of change
Bug fix (non-breaking change which fixes an issue)
Reference any relevant issues (don't forget the #)
Checklist before requesting a review
[x] I have verified that all unit tests pass in a clean virtual environment and added new unit tests, as needed
[x] I have run e2eTests and added new test scripts, as needed
[x] I have verified that all docstrings are properly formatted and added new documentation, as needed
Describe your changes
numpy v1.24 expires the deprecation on ragged array creation. This had two impacts on EXOSIMS:
DRM2array
method inMissionSim
sometimes created ragged arrays when parsing keywords allowing both None entries and variable length arrays. This was fixed by catching the value error generated and re-issuing the array command withdtype=object
scheduleRevisit
was erroneously passingsInd
as a list instead of an int. This has been fixed.Also adds minimum package versions for most dependencies.
Type of change
Reference any relevant issues (don't forget the #)
Checklist before requesting a review
e2eTests
and added new test scripts, as needed