Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-46351: Add debug log in _pipeline_graph to ID task label #447

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/DM-46351.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added a DEBUG-level log message into `_pipeline_graph.py` to signify which task is being run.
1 change: 1 addition & 0 deletions python/lsst/pipe/base/pipeline_graph/_pipeline_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ def add_task(
label = task_class._DefaultName
if config is None:
config = task_class.ConfigClass()
_LOG.debug("Adding task %s %s to the pipeline graph", label, task_class)
task_node = TaskNode._from_imported_data(
key=NodeKey(NodeType.TASK, label),
init_key=NodeKey(NodeType.TASK_INIT, label),
Expand Down
Loading