Skip to content

Comments

DM-54136: Create an analysis tool that compares nPeaks to nObjects#470

Merged
jrmullaney merged 2 commits intomainfrom
tickets/DM-54136
Feb 21, 2026
Merged

DM-54136: Create an analysis tool that compares nPeaks to nObjects#470
jrmullaney merged 2 commits intomainfrom
tickets/DM-54136

Conversation

@jrmullaney
Copy link
Contributor

No description provided.

Copy link
Contributor

@fred3m fred3m left a comment

Choose a reason for hiding this comment

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

LGTM, just one minor comment about the implementation.



class ParentObjectSelector(FlagSelector):
class ParentObjectSelector(VectorAction):
Copy link
Contributor

Choose a reason for hiding this comment

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

I actually wonder if this could still work as a FlagSelector with

self.selectWhenFalse = [
    "sky_object",
    "parentObjectId"
]

It's a little bit of a hack but it would work because I think that when parentObjectId is zero that should register as False.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok - I'll give it a shot and see if it works. It'll be much neater if it does.
Thanks!

@jrmullaney jrmullaney merged commit 9062e37 into main Feb 21, 2026
14 of 15 checks passed
@jrmullaney jrmullaney deleted the tickets/DM-54136 branch February 21, 2026 14:33
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