the_od_bods
the_od_bods copied to clipboard
Running export2jkan.py via main.py does not update files
Describe the bug
When running export2jkan.py via the main.py file, this does not update the files in the jkan _datasets directory, meaning that the site does not get updated.
To Reproduce
- Run
main.pywith the lines for merge data_and export2jkan uncommented. - Observe that data folder in the_od_bods repo is updated but _datasets folder in jkan repo is not
Expected behavior JKAN repo should also be updated. Workaround for now is to run merge_data and export2jkan after main.py has ran.
Screenshots
Excerpt from a full run of main.py
https://github.com/OpenDataScotland/opendata.scot_pipeline/actions/runs/5181569810/jobs/9337253401
Hardware and software used Should be N/A but was experienced via Pipeline (GH Actions using Ubuntu), Windows 10 and Ubuntu on WSL (all using Python 3.9)
Additional context N/A