Caltech-IPAC / kete

Kete Solar System Survey tools
https://Caltech-IPAC.github.io/kete
BSD 3-Clause "New" or "Revised" License
12 stars 1 forks source link

Time conversion from python failing #82

Closed dahlend closed 3 months ago

dahlend commented 3 months ago

Following code causes a hard crash of the python kernel:

import neospy
state = neospy.HorizonsProperties.fetch("Ceres").state
neospy.propagate_n_body([state], neospy.Time.j2000())
dahlend commented 3 months ago

Offending line: https://github.com/IPAC-SW/neospy/blob/main/src/neospy/rust/time.rs#L41

This is causing infinite recursion, need to add a unit test. Should have had a unit test.