integrate_module 0.99.2__tar.gz → 0.99.3__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.
- {integrate_module-0.99.2/integrate_module.egg-info → integrate_module-0.99.3}/PKG-INFO +1 -1
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_io.py +20 -1
- {integrate_module-0.99.2 → integrate_module-0.99.3/integrate_module.egg-info}/PKG-INFO +1 -1
- {integrate_module-0.99.2 → integrate_module-0.99.3}/pyproject.toml +1 -1
- {integrate_module-0.99.2 → integrate_module-0.99.3}/LICENSE +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/README.md +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/__init__.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/gex.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_borehole.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_hdf5_info_cli.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_plot.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_query.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_rejection.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_rejection_cli.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_rejection_jax.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_timing_cli.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate/integrate_www_cli.py +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/SOURCES.txt +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/dependency_links.txt +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/entry_points.txt +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/requires.txt +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/top_level.txt +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/setup.cfg +0 -0
- {integrate_module-0.99.2 → integrate_module-0.99.3}/tests/test_likelihood_multinomial.py +0 -0
|
@@ -2967,6 +2967,10 @@ def get_case_data(case='DAUGAARD', loadAll=False, loadType='', filelist=None, **
|
|
|
2967
2967
|
print("filelist to download:")
|
|
2968
2968
|
print(filelist)
|
|
2969
2969
|
|
|
2970
|
+
# Direct-download endpoint for the shared data. Use ERDA's 'share_redirect'
|
|
2971
|
+
# form (serves raw file bytes, returns proper 404s), NOT the 'sharelink'
|
|
2972
|
+
# browse link, which returns an HTML directory page with status 200 for any
|
|
2973
|
+
# path and would be saved as a corrupt file.
|
|
2970
2974
|
urlErda = 'https://anon.erda.au.dk/share_redirect/dxOLKDtoul'
|
|
2971
2975
|
urlErdaCase = '%s/%s' % (urlErda,case)
|
|
2972
2976
|
from tqdm import tqdm
|
|
@@ -2976,7 +2980,22 @@ def get_case_data(case='DAUGAARD', loadAll=False, loadType='', filelist=None, **
|
|
|
2976
2980
|
if showInfo>-1:
|
|
2977
2981
|
print('--> Got data for case: %s' % case)
|
|
2978
2982
|
|
|
2979
|
-
|
|
2983
|
+
# Return the local filename for each requested file, but only if it was
|
|
2984
|
+
# actually obtained (downloaded or already present locally). download_file
|
|
2985
|
+
# saves to download_dir='.' using the basename, so we check for that here.
|
|
2986
|
+
# Files that could not be obtained (e.g. missing on the remote server)
|
|
2987
|
+
# return an empty string, so callers can test `if len(name) == 0`.
|
|
2988
|
+
result = []
|
|
2989
|
+
for f in filelist:
|
|
2990
|
+
basename = f.replace('\\', '/').split('/')[-1]
|
|
2991
|
+
if os.path.exists(basename):
|
|
2992
|
+
result.append(basename)
|
|
2993
|
+
else:
|
|
2994
|
+
if showInfo>-1:
|
|
2995
|
+
print('File %s was not obtained (missing locally and on remote); returning empty string.' % basename)
|
|
2996
|
+
result.append('')
|
|
2997
|
+
|
|
2998
|
+
return result
|
|
2980
2999
|
|
|
2981
3000
|
|
|
2982
3001
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "integrate_module"
|
|
7
|
-
version = "0.99.
|
|
7
|
+
version = "0.99.3"
|
|
8
8
|
description = "Localized probabilistic data integration"
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|
{integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{integrate_module-0.99.2 → integrate_module-0.99.3}/integrate_module.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|