diff --git a/act_dr6_lenslike/__init__.py b/act_dr6_lenslike/__init__.py index 8025857..c46f39c 100644 --- a/act_dr6_lenslike/__init__.py +++ b/act_dr6_lenslike/__init__.py @@ -1,5 +1,5 @@ """Likelihood for the Atacama Cosmology Telescope DR6 CMB lensing data.""" __author__ = ["Mathew Madhavacheril", "Ian Harrison"] -__version__ = "1.0.3" +__version__ = "1.0.5" from .act_dr6_lenslike import * diff --git a/act_dr6_lenslike/act_dr6_lenslike.py b/act_dr6_lenslike/act_dr6_lenslike.py index c6fe197..fd349f3 100644 --- a/act_dr6_lenslike/act_dr6_lenslike.py +++ b/act_dr6_lenslike/act_dr6_lenslike.py @@ -66,7 +66,7 @@ def get_data(data_url="https://lambda.gsfc.nasa.gov/data/suborbital/ACT/ACT_dr6/ download(data_url+data_filename, data_filename) tar = tarfile.open(data_filename) - tar.extractall() + tar.extractall(path=os.path.join(file_dir, data_dir).rstrip('v1.1/')) # this is not great tar.close() os.remove(data_filename) diff --git a/pyproject.toml b/pyproject.toml index 67f6dd7..0e85714 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ classifiers = [ "License :: OSI Approved :: BSD License", ] dynamic = ["version", "description"] -dependencies = ["numpy >=1", "scipy >=1"] +dependencies = ["numpy >=1", "scipy >=1", "pytest", "tqdm", "requests"] [project.urls] Source = "https://github.com/ACTCollaboration/act_dr6_lenslike"