This repository holds the scripts produced for the SciLifeLab Data Platform, that are not directly associated with visualisations or the underlying code used to generate the Platform itself.
This script collects the jobs that are available in SciLifeLab jobs page, but not yet on the corresponding platform jobs page. The output is list of jobs in JSON format that can be copy pasted (upon review) to the job's data file used for the platform.
Usage:
To print the out to stdout
python ddls_jobs_fetcher.py
To save the output in a file called latest_ddls_jobs.json
on the current folder
python ddls_jobs_fetcher.py > latest_ddls_jobs.json
This script collects all upcoming events listed in the SciLifeLab website, but not yet in the corresponding platform events page. The output is list of events in JSON format, that can be copy pasted (upon review) to the event's data file, which is used to build the platform's events page.
Usage:
To print the out to stdout
python events_fetcher.py
To save the output in a file called latest_events.json
on the current folder
python events_fetcher.py > latest_events.json