Keyerror in ingestion.py when trying to run Taswira
Mohitkumar6122 opened this issue · 3 comments
Mohitkumar6122 commented
Describe the bug
It is showing keyerror in ingestion.py file in visualization tool whenever i try to run Taswira.
To Reproduce
Steps to reproduce the behavior:
- go to directory GCBM.Visualisation_Tool
- go to the conda environment 'taswira' which you have created in your machine.
- When i typed following command it is showing me error
$ taswira indicators.json sample_data/sample_1/output_files/spatial
sample_data/sample_1/output_files/compiled_gcbm_output.db
in place of sample_data/sample_1/output_files/spatial i have passed their path . - See error
KeyError: '2016'
Expected behavior
Normally my browser should automatically open up with Taswira's interface.
Operating Environment:
- Ubuntu 20.04.1 LTS
Additional context
Add any other context about the problem here.
Mohitkumar6122 commented
@abhineet97 Could you have a look at this issue..?
abhineet97 commented
Hi @Mohitkumar6122.
In the screenshot, I see that you're passing spatial_results
from sample_1 but you're passing db_results
from sample_2. I believe, that's why you're seeing that error.
In the bug description, you entered the correct command, please try it again:
$ taswira indicators.json /home/mohit/GCBM.Visualisation_Toolsample_data/sample_1/output_files/spatial /home/GCBM.Visualisation_Tool/sample_data/sample_1/output_file/compiled_gcbm_output.db
Let me know if you still see an error.
Mohitkumar6122 commented
thanks now it is working