This PR pulls the latest device data from NocoDB and places it in the devices.json file. A lot has changed since that file was last updated, and so there were several things that had to be fixed. Here are some notes.
Updated utility/devices.py for schema changes in the NocoDB table which resulted in a very different devices.json file.
Added utility/devices_json_updater.py to be called by a user to update devices.json in the root of the repo. This script expects to be passed a path to a CSV file that has been downloaded from the hardware table in NocoDB. This will overwrite the existing devices.json file, so run with care.
example_run.py is temporary, and should eventually be encoded into CI. It reflects the current state of how documentation generation is called, not necessarily how it will be when we finish this project.
orchestration.py has hardcoded device ID's in it, and we will need to fix that now that we are pushing towards a production version (if not in this PR then another one).
devices.json.old is temporary to use as reference during the transition and will be deleted before merge.
@julianstirling example_run.py should be of interest to you.
This PR pulls the latest device data from NocoDB and places it in the
devices.json
file. A lot has changed since that file was last updated, and so there were several things that had to be fixed. Here are some notes.utility/devices.py
for schema changes in the NocoDB table which resulted in a very differentdevices.json
file.utility/devices_json_updater.py
to be called by a user to updatedevices.json
in the root of the repo. This script expects to be passed a path to a CSV file that has been downloaded from the hardware table in NocoDB. This will overwrite the existingdevices.json
file, so run with care.example_run.py
is temporary, and should eventually be encoded into CI. It reflects the current state of how documentation generation is called, not necessarily how it will be when we finish this project.orchestration.py
has hardcoded device ID's in it, and we will need to fix that now that we are pushing towards a production version (if not in this PR then another one).devices.json.old
is temporary to use as reference during the transition and will be deleted before merge.@julianstirling
example_run.py
should be of interest to you.