-
Notifications
You must be signed in to change notification settings - Fork 467
new string cbs syntax #2532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new string cbs syntax #2532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly documentation requests on my end (no surprise there), but there's a gap in the test suite that needs to be fixed before I can approve this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything here is clear to me and I like the "deprecation" of cbs
as a function. It's a good idea to have the "number of steps" variables also for findif and n-body, especially as they're counting the AtomicResults (or whatever it is in DDD). LGTM.
* new string cbs syntax * review comments * testing details * another win conda attempt
* new string cbs syntax * review comments * testing details * another win conda attempt
Description
These are the breaking, user-facing changes for cbs in DDD. That is, these changes aren't needed at present for the cbs back-end, but this is coercing the input front-end into the right syntax.
This is No. 6 of the DDD series, #1351.
Todos
fn(cbs)
and passing to extrapolation functions are changed over tofn("cbs")
and passing the names of extrapolation functions. This is making cbs behave more like other wrappers: findif you don't call directly, you use kwarg dertype and nbody you don't call directly, you use bsse_type. Functions are trickier to keep imported and don't serialize well, so in ddd, they're registered and replaced by strings, akin to the procedures dictionary.Checklist
Status