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

Tickets/DM-11010 #255

Merged
merged 2 commits into from Jul 6, 2017
Merged

Tickets/DM-11010 #255

merged 2 commits into from Jul 6, 2017

Conversation

natelust
Copy link
Contributor

@natelust natelust commented Jul 6, 2017

No description provided.

There was a bug in which the peaks in the Footprint transform
method incorrectly determined the position of the peak in the
newly transformed Footprint. Fixed to correct behavior.
Copy link
Contributor

@r-owen r-owen left a comment

Choose a reason for hiding this comment

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

Looks great. Just one minor request for the new unit test.

# Multiplied by two because that is the linear transform scaling
# factor
self.assertEqual(peak.getIx(), truth[0]*2)
self.assertEqual(peak.getIy(), truth[1]*2)
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest making the linear transform scaling factor a named constant (used when creating the linear transform above and again here).

Create a test for Footprint peak transformation, to ensure the peaks
in the post transformed Footprint are in the correct places.
@natelust natelust merged commit 146da1c into master Jul 6, 2017
@ktlim ktlim deleted the tickets/DM-11010 branch August 25, 2018 06:43
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