Skip to content

Input validation for schedule #1655

@alexpiet

Description

@alexpiet

Right now the schedule is downloaded from smartsheet and saved as a csv. Then loaded into the GUI as a pandas table.

This process is delicate in that types of columns sometimes change. For example, mouse IDs should be ints, but if a specific row has a string, then pandas converts the whole columns to strings.

Possible solutions

  • Forced casting of columns to specific types
  • A pydantic model to ensure input is valid

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