Skip to content

[BUG] : Fix hardcoded file paths in dash.py to make dashboard portable across systems #76

@sohampirale

Description

@sohampirale

Problem

The current dash.py file contains hardcoded Windows file paths that make the dashboard unusable for anyone other than the original developer:

data_dir = rf"C:\Users\SITAM MEUR\Desktop\web-eye-tracker-main\web-eye-tracker-main\app\services\calib_validation\csv\data"

This causes the following issues:

  • Only works on the original developer's Windows machine
  • Fails on Linux and macOS systems
  • Fails for any other contributor trying to run the dashboard

Related Files: app/services/dash.py

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