Skip to content

Optimizer failing with new_data, if start_date and end_date are actually start and end date of new_data #1091

@pro100olga

Description

@pro100olga

expanded_str = [date.strftime(c.DATE_FORMAT) for date in expanded_dates]
here raises an error, if expanded_dates is None, which happens if start_date and end_date are respectively min and max dates of the new_data.
This leads to inability to run optimization with new_data, unless start_date or end_date is not actual start or end dates of new_data - which seems counterintuitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions