From d39cce7dd6d6d2f6768137007fed413fb8a85c90 Mon Sep 17 00:00:00 2001 From: Mayo Faulkner Date: Thu, 10 Feb 2022 09:27:03 +0000 Subject: [PATCH] change cache to target dir --- atlaselectrophysiology/load_histology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlaselectrophysiology/load_histology.py b/atlaselectrophysiology/load_histology.py index df9e956..8f57c48 100644 --- a/atlaselectrophysiology/load_histology.py +++ b/atlaselectrophysiology/load_histology.py @@ -51,7 +51,7 @@ def download_histology_data(subject, lab): path_to_image = Path(CACHE_DIR, file) if not path_to_image.exists(): url = (baseurl + '/' + file) - http_download_file(url, cache_dir=CACHE_DIR, + http_download_file(url, target_dir=CACHE_DIR, username=par.HTTP_DATA_SERVER_LOGIN, password=par.HTTP_DATA_SERVER_PWD)