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-4037: Require non-empty doc string for config parameters #793

Merged
merged 1 commit into from Jun 9, 2023

Conversation

enourbakhsh
Copy link
Contributor

No description provided.

Copy link
Member

@arunkannawadi arunkannawadi left a comment

Choose a reason for hiding this comment

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

There seems to be unrelated format changes as well. Can you split them into its own commit?

@@ -352,5 +356,5 @@ def makeInitialPsf(self, exposure, fwhmPix=None):
model = self.config.initialPsf.model
self.log.info("installInitialPsf fwhm=%s pixels; size=%s pixels", fwhmPix, size)
psfCls = getattr(measAlg, model + "Psf")
psf = psfCls(size, size, fwhmPix/(2.0*num.sqrt(2*num.log(2.0))))
psf = psfCls(size, size, fwhmPix / (2.0 * num.sqrt(2 * num.log(2.0))))
Copy link
Member

Choose a reason for hiding this comment

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

We don't yet run black on pipe_tasks so tend to shy away from formatting commits such as this one which conform to the non-black style guide.

@@ -352,5 +356,5 @@ def makeInitialPsf(self, exposure, fwhmPix=None):
model = self.config.initialPsf.model
self.log.info("installInitialPsf fwhm=%s pixels; size=%s pixels", fwhmPix, size)
psfCls = getattr(measAlg, model + "Psf")
psf = psfCls(size, size, fwhmPix/(2.0*num.sqrt(2*num.log(2.0))))
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have undone the formatting alteration for this particular line.

@enourbakhsh enourbakhsh merged commit 2df3ba6 into main Jun 9, 2023
1 check passed
@enourbakhsh enourbakhsh deleted the tickets/DM-4037 branch June 9, 2023 05:26
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.

None yet

3 participants