nefino-geosync 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nefino-geosync might be problematic. Click here for more details.
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/PKG-INFO +1 -1
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/download_analysis.py +4 -2
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.devcontainer/devcontainer.json +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.github/release.yml +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.github/workflows/pr-label-check.yml +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.github/workflows/publish.yml +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.gitignore +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.vscode/launch.json +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/.vscode/settings.json +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/LICENSE +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/README.md +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/__init__.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/access_rule_filter.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/api_client.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/compose_requests.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/config.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/download_completed_analyses.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/get_downloadable_analyses.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/graphql_errors.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/journal.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/parse_args.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/run.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/schema.json +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/schema.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/start_analyses.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/nefino_geosync/storage.py +0 -0
- {nefino_geosync-0.2.0 → nefino_geosync-0.2.1}/pyproject.toml +0 -0
|
@@ -15,8 +15,10 @@ def download_analysis(analysis: AnalysisResult) -> None:
|
|
|
15
15
|
journal = Journal.singleton()
|
|
16
16
|
download_dir = get_download_directory(analysis.pk)
|
|
17
17
|
download_file = os.path.join(download_dir, "download.zip")
|
|
18
|
-
if
|
|
19
|
-
|
|
18
|
+
if os.path.exists(download_file):
|
|
19
|
+
# remove any failed download
|
|
20
|
+
os.remove(download_file)
|
|
21
|
+
urlretrieve(analysis.url.replace(" ", "%20"), download_file)
|
|
20
22
|
with zipfile.ZipFile(download_file, "r") as zip_ref:
|
|
21
23
|
zip_ref.extractall(download_dir)
|
|
22
24
|
zip_root = get_zip_root(download_dir)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|