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-8002: Separate display logic from algorithm logic. #37

Merged
merged 1 commit into from Oct 17, 2016

Conversation

hsinfang
Copy link

This split in logic is necessary to guard the call
to ds9.Buffering() with an if display statement,
but it's also cleaner.

Copy link
Author

@hsinfang hsinfang left a comment

Choose a reason for hiding this comment

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

(I wanted to approve this patch but can't, because I opened the PR.)

@@ -201,43 +201,56 @@ def selectStars(self, exposure, sourceCat, matches=None):
#
starCat = SourceCatalog(sourceCat.schema)

if display:
Copy link
Author

Choose a reason for hiding this comment

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

From below it looks to me that if display and displayExposure: would be enough?

Copy link
Member

Choose a reason for hiding this comment

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

Correct. Will adjust accordingly.

This split in logic is necessary to guard the call
to ds9.Buffering() with an `if display` statement,
but it's also cleaner.
@TallJimbo TallJimbo merged commit 1eb8439 into master Oct 17, 2016
@ktlim ktlim deleted the tickets/DM-8002 branch August 25, 2018 06:44
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

2 participants