From 0b6e21d4a603e6ed94a7efda9d741baad2b1d3e3 Mon Sep 17 00:00:00 2001 From: "David H. Irving" Date: Tue, 15 Oct 2024 15:30:16 -0700 Subject: [PATCH] Remove dead branch It has not been possible for `butler.collections` or `butler.collections.defaults` to be `None` at any point in recent memory. --- python/lsst/pipe/base/tests/simpleQGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/pipe/base/tests/simpleQGraph.py b/python/lsst/pipe/base/tests/simpleQGraph.py index c7facc76a..6dbac9dc0 100644 --- a/python/lsst/pipe/base/tests/simpleQGraph.py +++ b/python/lsst/pipe/base/tests/simpleQGraph.py @@ -500,7 +500,7 @@ def makeSimpleQGraph( pipeline_graph, butler, skip_existing_in=skipExistingIn if skipExistingIn is not None else [], - input_collections=butler.collections.defaults if butler.collections.defaults is not None else [run], + input_collections=butler.collections.defaults, output_run=run, where=userQuery, bind=bind,