Skip to content

Commit b55e932

Browse files
fix io download
1 parent 535f2d0 commit b55e932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scape/_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import requests
88

99
def download_from_zenodo(target_dir, cache_dir = '_data'):
10-
if os.path.exists(target_dir):
10+
if os.path.exists(target_dir + '/_data'):
1111
print(f"Target directory {target_dir} already exists. Skipping download.")
1212
return
1313
url = 'https://zenodo.org/records/10617221/files/scape-data.zip?download=1'

0 commit comments

Comments
 (0)