Skip to content

DM-55564: Refactor FinalizeCharacterization tasks to reduce i/o#1335

Merged
erykoff merged 3 commits into
mainfrom
tickets/DM-55564
Jul 22, 2026
Merged

DM-55564: Refactor FinalizeCharacterization tasks to reduce i/o#1335
erykoff merged 3 commits into
mainfrom
tickets/DM-55564

Conversation

@erykoff

@erykoff erykoff commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@isullivan isullivan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only a minor comment on a docstring.

Comment thread python/lsst/pipe/tasks/finalizeCharacterization.py Outdated
all_source_columns = handle.get(component='columns')
source_columns = [self.config.id_column, 'obj_index']
# visit can be used if it is in the input catalog.
if visit is not None and visit in all_source_columns:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really an issue since you're removing it, but how did this ever work before? Was it supposed to be 'visit' in all_source_columns:?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of that was to work around the way I wrote the tests originally and was too lazy to fix properly. Which I regret because it wasn't so hard to fix the tests after all, and this turned out to be unnecessarily hammering i/o.

@erykoff
erykoff force-pushed the tickets/DM-55564 branch from 2b45e39 to 1da586b Compare July 22, 2026 18:09
@erykoff
erykoff merged commit 3a9105e into main Jul 22, 2026
2 checks passed
@erykoff
erykoff deleted the tickets/DM-55564 branch July 22, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants