legend-pydataobj 1.12.0a3__tar.gz → 1.12.0a4__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.
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/PKG-INFO +1 -1
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/PKG-INFO +1 -1
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/_version.py +2 -2
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/utils.py +1 -1
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_lh5_utils.py +7 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/LICENSE +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/README.md +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/pyproject.toml +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/setup.cfg +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/SOURCES.txt +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/dependency_links.txt +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/entry_points.txt +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/not-zip-safe +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/requires.txt +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/top_level.txt +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/cli.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/compression/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/compression/base.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/compression/generic.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/compression/radware.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/compression/utils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/compression/varlen.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lgdo_utils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/array.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/composite.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/encoded.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/ndarray.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/scalar.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/utils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/vector_of_vectors.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/array.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/composite.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/scalar.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/vector_of_vectors.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/concat.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/core.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/datatype.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/exceptions.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/iterator.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/store.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/tools.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/logging.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/__init__.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/array.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/arrayofequalsizedarrays.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/encoded.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/fixedsizearray.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/histogram.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/lgdo.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/scalar.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/struct.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/table.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/vectorofvectors.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/vovutils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/waveformtable.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/units.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/utils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/conftest.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/sigcompress/LDQTA_r117_20200110T105115Z_cal_geds_raw-0.dat +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/sigcompress/special-wf-clipped.dat +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/test_compression.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/test_radware_sigcompress.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/test_str2wfcodec.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/test_uleb128_zigzag_diff.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/conftest.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/conftest.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_concat.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_core.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_exceptions.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_lh5_datatype.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_lh5_iterator.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_lh5_store.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_lh5_tools.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/lh5/test_lh5_write.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/test_cli.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/test_lgdo_utils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_array.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_arrayofequalsizedarrays.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_encoded.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_fixedsizearray.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_histogram.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_representations.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_scalar.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_struct.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_table.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_table_eval.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_vectorofvectors.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_vovutils.py +0 -0
- {legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_waveformtable.py +0 -0
@@ -17,5 +17,5 @@ __version__: str
|
|
17
17
|
__version_tuple__: VERSION_TUPLE
|
18
18
|
version_tuple: VERSION_TUPLE
|
19
19
|
|
20
|
-
__version__ = version = '1.12.
|
21
|
-
__version_tuple__ = version_tuple = (1, 12, 0, '
|
20
|
+
__version__ = version = '1.12.0a4'
|
21
|
+
__version_tuple__ = version_tuple = (1, 12, 0, 'a4')
|
@@ -154,7 +154,7 @@ def expand_vars(expr: str, substitute: dict[str, str] | None = None) -> str:
|
|
154
154
|
|
155
155
|
# use provided mapping
|
156
156
|
# then expand env variables
|
157
|
-
return os.path.expandvars(string.Template(expr).safe_substitute(substitute))
|
157
|
+
return os.path.expandvars(string.Template(str(expr)).safe_substitute(substitute))
|
158
158
|
|
159
159
|
|
160
160
|
def expand_path(
|
@@ -51,3 +51,10 @@ def test_expand_path(lgnd_test_data):
|
|
51
51
|
|
52
52
|
# Check if it finds a list of files correctly
|
53
53
|
assert sorted(utils.expand_path(f"{base_dir}/*.lh5", list=True)) == sorted(files)
|
54
|
+
|
55
|
+
# check with base_path specified
|
56
|
+
base_path = base_dir.parent
|
57
|
+
assert (
|
58
|
+
utils.expand_path(f"{base_dir.name}/*20230318T012144Z*", base_path=base_path)
|
59
|
+
== Path(files[0]).relative_to(base_path).as_posix()
|
60
|
+
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/not-zip-safe
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/requires.txt
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/legend_pydataobj.egg-info/top_level.txt
RENAMED
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
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/__init__.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/__init__.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/array.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/composite.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/encoded.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/ndarray.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/scalar.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/read/utils.py
RENAMED
File without changes
|
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/__init__.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/array.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/composite.py
RENAMED
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/lh5/_serializers/write/scalar.py
RENAMED
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
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/src/lgdo/types/arrayofequalsizedarrays.py
RENAMED
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
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/test_compression.py
RENAMED
File without changes
|
File without changes
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/compression/test_str2wfcodec.py
RENAMED
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
|
{legend_pydataobj-1.12.0a3 → legend_pydataobj-1.12.0a4}/tests/types/test_arrayofequalsizedarrays.py
RENAMED
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
|