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 5503 #16

Merged
merged 5 commits into from Oct 5, 2016
Merged

Tickets/dm 5503 #16

merged 5 commits into from Oct 5, 2016

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Sep 28, 2016

No description provided.

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.

Good.


class MakeMegacamRawVisitInfo(MakeRawVisitInfo):
"""Make a VisitInfo from the FITS header of a raw Megacam image
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

Supposed to have a blank line after class docstring.

@@ -124,8 +159,6 @@ def testPackageName(self):
name = dafPersist.Butler.getMapperClass(root=self.repoPath).packageName
self.assertEqual(name, "obs_cfht")

#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


def suite():
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind upgrading this to support pytest while you're here?

and update testButler to make sure it works
and manually fix a few lines that needed more
Add `from __future__ import absolute_import, division, print_function`
to every python module, or in one case move it to standard location
@r-owen
Copy link
Contributor Author

r-owen commented Sep 30, 2016

I implemented your suggestions, ran autopep8 on all the python code and added the standard from __future__ import... to all python code (since there isn't much of it).

@r-owen r-owen merged commit 8e42247 into master Oct 5, 2016
@ktlim ktlim deleted the tickets/DM-5503 branch August 25, 2018 05:50
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