essreduce 25.10.0__py3-none-any.whl → 25.10.1__py3-none-any.whl

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.
@@ -176,7 +176,6 @@ class PoochRegistry(Registry):
176
176
  base_url=base_url,
177
177
  retry_if_failed=retry_if_failed,
178
178
  )
179
- self._unzip_processor = _import_pooch().Unzip()
180
179
  super().__init__(files)
181
180
 
182
181
  @cache # noqa: B019
@@ -192,6 +191,12 @@ class PoochRegistry(Registry):
192
191
  return Path(_expect_single_unzipped(paths, name))
193
192
  return Path(self._registry.fetch(name))
194
193
 
194
+ @property
195
+ def _unzip_processor(self) -> Any:
196
+ # Create a new processor on demand because reusing the same processor would
197
+ # reuse the same output path for every file.
198
+ return _import_pooch().Unzip()
199
+
195
200
 
196
201
  class LocalRegistry(Registry):
197
202
  def __init__(
@@ -212,8 +217,7 @@ class LocalRegistry(Registry):
212
217
  base_url=base_url,
213
218
  retry_if_failed=retry_if_failed,
214
219
  )
215
- pooch = _import_pooch()
216
- self._unzip_processor = pooch.processors.Unzip(extract_dir=pooch_registry.path)
220
+ self._extract_dir = pooch_registry.path
217
221
  self._source_path = source_path.resolve().joinpath(*prefix.split("/"), version)
218
222
  super().__init__(files)
219
223
 
@@ -247,6 +251,12 @@ class LocalRegistry(Registry):
247
251
  # value is a system path, i.e., it can be a Windows-style path.
248
252
  return self._source_path.joinpath(*name.split("/"))
249
253
 
254
+ @property
255
+ def _unzip_processor(self) -> Any:
256
+ # Create a new processor on demand because reusing the same processor would
257
+ # reuse the same output path for every file.
258
+ return _import_pooch().Unzip(self._extract_dir)
259
+
250
260
 
251
261
  def _import_pooch() -> Any:
252
262
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: essreduce
3
- Version: 25.10.0
3
+ Version: 25.10.1
4
4
  Summary: Common data reduction tools for the ESS facility
5
5
  Author: Scipp contributors
6
6
  License-Expression: BSD-3-Clause
@@ -7,7 +7,7 @@ ess/reduce/ui.py,sha256=zmorAbDwX1cU3ygDT--OP58o0qU7OBcmJz03jPeYSLA,10884
7
7
  ess/reduce/uncertainty.py,sha256=LR4O6ApB6Z-W9gC_XW0ajupl8yFG-du0eee1AX_R-gk,6990
8
8
  ess/reduce/workflow.py,sha256=738-lcdgsORYfQ4A0UTk2IgnbVxC3jBdpscpaOFIpdc,3114
9
9
  ess/reduce/data/__init__.py,sha256=uDtqkmKA_Zwtj6II25zntz9T812XhdCn3tktYev4uyY,486
10
- ess/reduce/data/_registry.py,sha256=TeEiy2HDKeLXXzSMwvusJqozPA_vPJSz7R8YttgvhxE,11126
10
+ ess/reduce/data/_registry.py,sha256=50qY36y5gd2i3JP0Ks6bXApGcW6l70qA6riO0m9Bz4o,11475
11
11
  ess/reduce/live/__init__.py,sha256=jPQVhihRVNtEDrE20PoKkclKV2aBF1lS7cCHootgFgI,204
12
12
  ess/reduce/live/raw.py,sha256=66qV0G2rP8gK5tXuk-syTlDLE2jT3ehfmSnET7Xzfd0,24392
13
13
  ess/reduce/live/roi.py,sha256=Hs-pW98k41WU6Kl3UQ41kQawk80c2QNOQ_WNctLzDPE,3795
@@ -40,9 +40,9 @@ ess/reduce/widgets/_spinner.py,sha256=2VY4Fhfa7HMXox2O7UbofcdKsYG-AJGrsgGJB85nDX
40
40
  ess/reduce/widgets/_string_widget.py,sha256=iPAdfANyXHf-nkfhgkyH6gQDklia0LebLTmwi3m-iYQ,1482
41
41
  ess/reduce/widgets/_switchable_widget.py,sha256=fjKz99SKLhIF1BLgGVBSKKn3Lu_jYBwDYGeAjbJY3Q8,2390
42
42
  ess/reduce/widgets/_vector_widget.py,sha256=aTaBqCFHZQhrIoX6-sSqFWCPePEW8HQt5kUio8jP1t8,1203
43
- essreduce-25.10.0.dist-info/licenses/LICENSE,sha256=nVEiume4Qj6jMYfSRjHTM2jtJ4FGu0g-5Sdh7osfEYw,1553
44
- essreduce-25.10.0.dist-info/METADATA,sha256=wn62SjFqeWbNwZMN-K_mBxRJmQy9_rjJx79L6d_UHyk,1937
45
- essreduce-25.10.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
- essreduce-25.10.0.dist-info/entry_points.txt,sha256=PMZOIYzCifHMTe4pK3HbhxUwxjFaZizYlLD0td4Isb0,66
47
- essreduce-25.10.0.dist-info/top_level.txt,sha256=0JxTCgMKPLKtp14wb1-RKisQPQWX7i96innZNvHBr-s,4
48
- essreduce-25.10.0.dist-info/RECORD,,
43
+ essreduce-25.10.1.dist-info/licenses/LICENSE,sha256=nVEiume4Qj6jMYfSRjHTM2jtJ4FGu0g-5Sdh7osfEYw,1553
44
+ essreduce-25.10.1.dist-info/METADATA,sha256=D1WNeIQ0DFiU74eL34et9ndrzzPZODUNqbwcj_D1Yzg,1937
45
+ essreduce-25.10.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
+ essreduce-25.10.1.dist-info/entry_points.txt,sha256=PMZOIYzCifHMTe4pK3HbhxUwxjFaZizYlLD0td4Isb0,66
47
+ essreduce-25.10.1.dist-info/top_level.txt,sha256=0JxTCgMKPLKtp14wb1-RKisQPQWX7i96innZNvHBr-s,4
48
+ essreduce-25.10.1.dist-info/RECORD,,