Skip to content

Commit

Permalink
Merge pull request #307 from lsst/tickets/DM-45933
Browse files Browse the repository at this point in the history
DM-45933: fix longstanding bad argument type
  • Loading branch information
TallJimbo authored Sep 10, 2024
2 parents e932c7e + 9803e85 commit 32219db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ctrl/mpexec/cmdLineFwk.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def makeGraph(self, pipeline: Pipeline, args: SimpleNamespace) -> QuantumGraph |
graph_builder = AllDimensionsQuantumGraphBuilder(
pipeline_graph,
butler,
where=args.data_query,
where=args.data_query or "",
skip_existing_in=args.skip_existing_in if args.skip_existing_in is not None else (),
clobber=args.clobber_outputs,
dataset_query_constraint=args.dataset_query_constraint,
Expand All @@ -680,7 +680,7 @@ def makeGraph(self, pipeline: Pipeline, args: SimpleNamespace) -> QuantumGraph |
"extend_run": args.extend_run,
"skip_existing_in": args.skip_existing_in,
"skip_existing": args.skip_existing,
"data_query": args.data_query,
"data_query": args.data_query or "",
}
assert run is not None, "Butler output run collection must be defined"
qgraph = graph_builder.build(metadata, attach_datastore_records=args.qgraph_datastore_records)
Expand Down

0 comments on commit 32219db

Please sign in to comment.