Skip to content

Commit d39cce7

Browse files
committed
change cache to target dir
1 parent 0a4da71 commit d39cce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlaselectrophysiology/load_histology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def download_histology_data(subject, lab):
5151
path_to_image = Path(CACHE_DIR, file)
5252
if not path_to_image.exists():
5353
url = (baseurl + '/' + file)
54-
http_download_file(url, cache_dir=CACHE_DIR,
54+
http_download_file(url, target_dir=CACHE_DIR,
5555
username=par.HTTP_DATA_SERVER_LOGIN,
5656
password=par.HTTP_DATA_SERVER_PWD)
5757

0 commit comments

Comments
 (0)