Rebekah-Chuang / VizAble

VizAble is a web-based data visualization tool that generates accessible visualizations for all users, including people with visual impairments (low vision or blind).
MIT License
3 stars 0 forks source link

feat: add a dropdown to allow different file formats (.csv, .tsv, .xlsx). #4

Closed Rebekah-Chuang closed 9 months ago

Rebekah-Chuang commented 9 months ago

Closes #3

jooyoungseo commented 9 months ago

Thanks! Please remove . in front of the shiny folder. In my original comment, ./shiny/ the first . refers to the current folder.

Rebekah-Chuang commented 9 months ago

I used shiny for the folder name at first. When I tried to run the app, the error message showed as below:

(shiny_app_env) chiying__c@bigheads-MBP accessible-data-viz-application % /Users/chiying__c/opt/anaconda3/envs/shiny_app_env/bin/python -m shiny run --port 53389 --reload "/Users/chiying__c/Desktop/UIUC/Course/2024Spring/IS589_Independent_Study/shiny_app_python/accessible-data-vi
z-application/shiny/app.py"
/Users/chiying__c/opt/anaconda3/envs/shiny_app_env/bin/python: No module named shiny.__main__; 'shiny' is a package and cannot be directly executed

When I changed it to .shiny, it surprisingly worked. Did I do anything wrong with the structure? Thanks.

jooyoungseo commented 9 months ago

I see. That’s because the shiny is the module name which conflicts against the folder name that we are trying to create. Let’s rename .shiny to apps. This should work. I don’t recommend using . in front of the folder name unless you want to create a hidden folder or env folder.

Rebekah-Chuang commented 9 months ago

Thanks! I've changed the folder name and it works now!