diff --git a/ojd_daps_skills/extract_skills/extract_skills_utils.py b/ojd_daps_skills/extract_skills/extract_skills_utils.py index 778cbc28..e332f7b3 100644 --- a/ojd_daps_skills/extract_skills/extract_skills_utils.py +++ b/ojd_daps_skills/extract_skills/extract_skills_utils.py @@ -13,7 +13,6 @@ from sklearn.pipeline import Pipeline from skops.hub_utils import download from spacy.language import Language -from spacy.tokens import Doc from wasabi import msg from ojd_daps_skills import PUBLIC_MODEL_FOLDER_PATH diff --git a/ojd_daps_skills/utils/download_public_data.py b/ojd_daps_skills/utils/download_public_data.py index db09f1aa..867b8a73 100644 --- a/ojd_daps_skills/utils/download_public_data.py +++ b/ojd_daps_skills/utils/download_public_data.py @@ -13,10 +13,10 @@ def download_data(): """Download public data. Expected to run once on first use.""" s3 = boto3.client( - "s3", region_name="eu-west-1", config=Config(signature_version=UNSIGNED) + "s3", region_name="eu-west-2", config=Config(signature_version=UNSIGNED) ) - bucket_name = "open-jobs-indicators" + bucket_name = "nesta-open-data" key = "escoe_extension/ojd_daps_skills_data_refactor.zip" try: diff --git a/tests/test_skill_mapper.py b/tests/test_skill_mapper.py index a17fd6a4..1c22817e 100644 --- a/tests/test_skill_mapper.py +++ b/tests/test_skill_mapper.py @@ -66,7 +66,7 @@ def test_get_top_taxonomy_skills( assert len(top_taxonomy_skills) == 3 assert isinstance(top_taxonomy_skills[0], list) assert isinstance(top_taxonomy_skills[1], list) - assert type(top_taxonomy_skills[2]) == pd.core.indexes.base.Index + assert type(top_taxonomy_skills[2]) is pd.core.indexes.base.Index assert len(top_taxonomy_skills[1][0]) == 2