Skip to content

Scheduler callable interface question #209

@wtgee

Description

@wtgee

I don't understand the reasoning behind making a Scheduler class callable instead of just making the make_schedule method public. It doesn't seem very intuitive to me.

Also, as it exists now there is a bug somewhere in _make_schedule such that it cannot actually be called twice in a row. So, for example in the #208 that @kvyh just posted (linked below) there is a separation between the creation of a Scheduler and the calling of it, but you can't actually ever call it twice. (That's probably a separate Issue)

https://github.com/kvyh/astroplan/blob/7cf328a4ebadcc6592cc4c68d63df7e0cf6e88fa/docs/tutorials/scheduling.rst#scheduling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions