lsst-pipe-base 29.2025.1300__py3-none-any.whl → 29.2025.1400__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.
@@ -130,6 +130,10 @@ class AllDimensionsQuantumGraphBuilder(QuantumGraphBuilder):
130
130
  tree = _DimensionGroupTree(subgraph)
131
131
  self._query_for_data_ids(tree)
132
132
  skeleton = self._make_subgraph_skeleton(tree)
133
+ if not skeleton.has_any_quanta:
134
+ # QG is going to be empty; exit early not just for efficiency, but
135
+ # also so downstream code doesn't have to guard against this case.
136
+ return skeleton
133
137
  self._find_followup_datasets(tree, skeleton)
134
138
  dimension_records = self._fetch_most_dimension_records(tree)
135
139
  leftovers = self._attach_most_dimension_records(skeleton, dimension_records)
@@ -194,6 +194,13 @@ class QuantumGraphSkeleton:
194
194
  """The total number of edges."""
195
195
  return len(self._xgraph.edges)
196
196
 
197
+ @property
198
+ def has_any_quanta(self) -> bool:
199
+ """Test whether this graph has any quanta."""
200
+ for _ in self.iter_all_quanta():
201
+ return True
202
+ return False
203
+
197
204
  def has_task(self, task_label: str) -> bool:
198
205
  """Test whether the given task is in this skeleton.
199
206
 
lsst/pipe/base/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "29.2025.1300"
2
+ __version__ = "29.2025.1400"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lsst-pipe-base
3
- Version: 29.2025.1300
3
+ Version: 29.2025.1400
4
4
  Summary: Pipeline infrastructure for the Rubin Science Pipelines.
5
5
  Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
6
6
  License: BSD 3-Clause License
@@ -8,7 +8,7 @@ lsst/pipe/base/_observation_dimension_packer.py,sha256=78Jg2OVFOdXIK62TS2Y3X4095
8
8
  lsst/pipe/base/_quantumContext.py,sha256=gb60mTHbgOIEptYvJ64SaChvViXyeKJlG6kEHq4nYVw,19345
9
9
  lsst/pipe/base/_status.py,sha256=t9jiM0YkL4cAJ1hokRJ4FFntijW86fRWbb_5bKaCDYk,15222
10
10
  lsst/pipe/base/_task_metadata.py,sha256=SfM4L07Pe5itBDCsNh-XjdQvlKLY5LBcG6lpdtpMxHA,24968
11
- lsst/pipe/base/all_dimensions_quantum_graph_builder.py,sha256=xG4WbpgHo_4w5xzLeii95IuNbOCJ0kkv6lQi3tm6Gyg,53057
11
+ lsst/pipe/base/all_dimensions_quantum_graph_builder.py,sha256=Z9MN7y8eltF7VcvQsprbiaf13HRJ-U21jwuXIaqhSfQ,53283
12
12
  lsst/pipe/base/automatic_connection_constants.py,sha256=H5uuh1rYRpjndgPdb0dh1L_-OyLKdT6VWOZTAb__xCU,3298
13
13
  lsst/pipe/base/caching_limited_butler.py,sha256=ZlvjznhHMuKi_0JkVa6WlCwhDXRSOozCcxpOHHSRMIQ,7311
14
14
  lsst/pipe/base/config.py,sha256=yNipVEc6awwhU_O9I01g20OnvQrs28dAwkXuI1hrlYE,11982
@@ -25,14 +25,14 @@ lsst/pipe/base/pipelineTask.py,sha256=K3GdjJLvy8A7I-jzQiERQZaYF7mC1LM3iB5TmUtbOC
25
25
  lsst/pipe/base/prerequisite_helpers.py,sha256=WxfIGkF0Wlucp9mE3Wp3E6K2M6d66O0oZrWecRqn5CI,28312
26
26
  lsst/pipe/base/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  lsst/pipe/base/quantum_graph_builder.py,sha256=zn--NtuypWss_-FgyLm-i2a98d_-c1g5hWJnv-q4VSU,54695
28
- lsst/pipe/base/quantum_graph_skeleton.py,sha256=QML_p5wLcfwOpegfQR0H7yJJXuV_UqHkksFjkHQII6s,24183
28
+ lsst/pipe/base/quantum_graph_skeleton.py,sha256=FyKrgDPO1UsvwyAYo1uBm-65FynEFLPbAocQAMMUx0A,24376
29
29
  lsst/pipe/base/quantum_provenance_graph.py,sha256=YkYP8-ooKunZ2IHIkOlchmTu0-fM-evUa7zzaJ_5524,91900
30
30
  lsst/pipe/base/struct.py,sha256=Fa-UkpuXOxdzKWbHrMUkJYOszZuBXCm2NesXNR0IOPQ,5048
31
31
  lsst/pipe/base/task.py,sha256=XHBd-7m1a4-6LgobBYA1DgY4H7EV-_RWKfxbhZbMmD4,15145
32
32
  lsst/pipe/base/taskFactory.py,sha256=4GhN2DozPM8suBYIvoKN4E6VP0I3mYZHBjCUO5JcCGk,2901
33
33
  lsst/pipe/base/testUtils.py,sha256=lSBKMhoKflbi8JkMNYfEqqHNl-rtFI8UYT3QneDYpLo,18477
34
34
  lsst/pipe/base/utils.py,sha256=JmEt3l0xrh9uayKrSXuQEq12aXOhDr2YXmbYduaxCko,1940
35
- lsst/pipe/base/version.py,sha256=tryL-NT2fHNIinBXQOOXxLFsVaDOMR53wZgDt_5tYb0,55
35
+ lsst/pipe/base/version.py,sha256=tG0U8v8pqFE3UYsFMTK1so9Djnk6SthXSsn8LMVzAoQ,55
36
36
  lsst/pipe/base/cli/__init__.py,sha256=861tXIAW7SqtqNUYkjbeEdfg8lDswXsjJQca0gVCFz4,54
37
37
  lsst/pipe/base/cli/_get_cli_subcommands.py,sha256=g_af64klRybBGKAg7fmBSZBdw2LYBAsFON_yQIMZON0,1289
38
38
  lsst/pipe/base/cli/cmd/__init__.py,sha256=BGicstnryQ48rYcNRh4fa6Vy63ZIlZ_pPAEa17jhkwY,1519
@@ -83,13 +83,13 @@ lsst/pipe/base/tests/mocks/__init__.py,sha256=NrIJYDeYgR3HsOJXBEXi8EXDhhV7iw7dgw
83
83
  lsst/pipe/base/tests/mocks/_data_id_match.py,sha256=MRGZUSD6ES0EiVG7kOIGZaJbZsaSIXB2M6tI9RpdUAc,6491
84
84
  lsst/pipe/base/tests/mocks/_pipeline_task.py,sha256=fqaJ-tB7K3jxlfCvCSnVd_GNrz-JhX7FB914h7nHLXc,29366
85
85
  lsst/pipe/base/tests/mocks/_storage_class.py,sha256=JvUmyXQC5DwOkFoLHkJk6u0ldn1VgZVVjh9GjpXRGg0,25211
86
- lsst_pipe_base-29.2025.1300.dist-info/licenses/COPYRIGHT,sha256=kB3Z9_f6a6uFLGpEmNJT_n186CE65H6wHu4F6BNt_zA,368
87
- lsst_pipe_base-29.2025.1300.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
88
- lsst_pipe_base-29.2025.1300.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
89
- lsst_pipe_base-29.2025.1300.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
90
- lsst_pipe_base-29.2025.1300.dist-info/METADATA,sha256=6eZQ1cjAQ31Xkpa2ttGa72CDDqd8Zqf9sZyTeT14-LA,2172
91
- lsst_pipe_base-29.2025.1300.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
92
- lsst_pipe_base-29.2025.1300.dist-info/entry_points.txt,sha256=bnmUhJBsChxMdqST9VmFBYYKxLQoToOfqW1wjW7khjk,64
93
- lsst_pipe_base-29.2025.1300.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
94
- lsst_pipe_base-29.2025.1300.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
95
- lsst_pipe_base-29.2025.1300.dist-info/RECORD,,
86
+ lsst_pipe_base-29.2025.1400.dist-info/licenses/COPYRIGHT,sha256=kB3Z9_f6a6uFLGpEmNJT_n186CE65H6wHu4F6BNt_zA,368
87
+ lsst_pipe_base-29.2025.1400.dist-info/licenses/LICENSE,sha256=pRExkS03v0MQW-neNfIcaSL6aiAnoLxYgtZoFzQ6zkM,232
88
+ lsst_pipe_base-29.2025.1400.dist-info/licenses/bsd_license.txt,sha256=7MIcv8QRX9guUtqPSBDMPz2SnZ5swI-xZMqm_VDSfxY,1606
89
+ lsst_pipe_base-29.2025.1400.dist-info/licenses/gpl-v3.0.txt,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
90
+ lsst_pipe_base-29.2025.1400.dist-info/METADATA,sha256=h2IPKWm3dND4NpTaSrKhLvHF18dJ_rdgzyhUhibpG50,2172
91
+ lsst_pipe_base-29.2025.1400.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
92
+ lsst_pipe_base-29.2025.1400.dist-info/entry_points.txt,sha256=bnmUhJBsChxMdqST9VmFBYYKxLQoToOfqW1wjW7khjk,64
93
+ lsst_pipe_base-29.2025.1400.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
94
+ lsst_pipe_base-29.2025.1400.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
95
+ lsst_pipe_base-29.2025.1400.dist-info/RECORD,,