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-27547: stringify spatialCells #680

Merged
merged 3 commits into from Feb 8, 2023
Merged

DM-27547: stringify spatialCells #680

merged 3 commits into from Feb 8, 2023

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Feb 3, 2023

No description provided.

f"status={self.getStatus().name}, rating={self.getCandidateRating()}")


SpatialCellCandidate.__repr__ = spatialCellCandidateRepr
Copy link
Member

@TallJimbo TallJimbo Feb 6, 2023

Choose a reason for hiding this comment

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

Might want to use lsst.utils.continueClass for the content of this module.

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 was just continuing the pattern that had been set up, but you're right. I'll rework it.


class SpatialCellImageCandidateTestCase(unittest.TestCase):

def setUp(self):
# To ensure consistency across tests: width/height are static members
# of SpatialCellImageCandidate, and tests can run in any order.
Copy link
Member

Choose a reason for hiding this comment

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

width/height are static members

😱 🙈

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 agree, but I'm not even thinking of attempting to fix that on this ticket.

@parejkoj parejkoj merged commit 093c4c1 into main Feb 8, 2023
@parejkoj parejkoj deleted the tickets/DM-27547 branch February 8, 2023 19:09
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