Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
AZURE_STORAGE_CONNECTION_STRING=
AZURE_STORAGE_CONTAINER=
AZ_ROOT_FILE_PATH=
LOCAL_DOWNLOAD_PATH=
JUPYTER_USERS=
Empty file removed cbsurge/azure/__init__.py
Empty file.
190 changes: 0 additions & 190 deletions cbsurge/azure/blob_storage.py

This file was deleted.

156 changes: 0 additions & 156 deletions cbsurge/azure/fileshare.py

This file was deleted.

10 changes: 0 additions & 10 deletions cbsurge/azure/tests/test_azure.py

This file was deleted.

7 changes: 3 additions & 4 deletions cbsurge/exposure/population/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import click

from cbsurge.exposure.population.worldpop import population_sync, process_aggregates, download
from cbsurge.exposure.population.worldpop import population_sync, process_aggregates, run_download


@click.group()
Expand All @@ -21,12 +21,11 @@ def sync(force_reprocessing, country, download_path):

@population.command()
@click.option('--country', help='The ISO3 code of the country to process the data for')
@click.option('--force-reprocessing', help='Force reprocessing of data', is_flag=True)
@click.option('--download-path', help='Download data locally', required=False)
@click.option('--age-group', help='The age group to process the data for', type=click.Choice(['child', 'active', 'elderly']))
@click.option('--sex', help='Path to the downloaded data', type=click.Choice(['male', 'female']))
def download(country, force_reprocessing, download_path, age_group, sex):
asyncio.run(download(force_reprocessing=force_reprocessing, country_code=country, download_path=download_path, age_group=age_group, sex=sex))
def download(country, download_path, age_group, sex):
asyncio.run(run_download(country_code=country, download_path=download_path, age_group=age_group, sex=sex))

@population.command()
@click.option('--country', help='The ISO3 code of the country to process the data for')
Expand Down
Loading
Loading