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

u/parejkoj/multiplier-docstring: Clarify multiplier docstring #356

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

parejkoj
Copy link
Contributor

No description provided.

dtype=float, optional=False, default=5.0, min=0.0,
)
includeThresholdMultiplier = pexConfig.RangeField(
doc="Include threshold relative to thresholdValue.",
doc="Multiplier on thresholdValue for whether a source is included in the output catalog. "
"For example, value=5, multiplier=10 results in a catalog of sources at >50 sigma, "
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd just use the actual config names here, i.e. value -> thresholdValue and multiplier -> includeThresholdMultiplier. Also, I'm not sure sigma is strictly correct given the options for thresholdType.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How is it now?

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@PaulPrice PaulPrice left a comment

Choose a reason for hiding this comment

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

Lauren covered it.

@parejkoj parejkoj force-pushed the u/parejkoj/multiplier-docstring branch from 145ce42 to b487f3e Compare November 30, 2023 01:39
@parejkoj parejkoj merged commit c49de88 into main Nov 30, 2023
2 checks passed
@parejkoj parejkoj deleted the u/parejkoj/multiplier-docstring branch November 30, 2023 18:03
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.

3 participants