-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add string representations for catalogref and dataset #166
Add string representations for catalogref and dataset #166
Conversation
6f3aa9c
to
302c4c6
Compare
Should be ready to go @dopplershift - looks like the code coverage again isn't related. |
@@ -312,6 +314,10 @@ def __init__(self, base_url, element_node): | |||
href = element_node.attrib['{http://www.w3.org/1999/xlink}href'] | |||
self.href = urljoin(base_url, href) | |||
|
|||
def __str__(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a test for this one? That's where the coverage drop is coming from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did one better - I added the test AND added a string representation for catalogs as well (with a test). That revealed that the GOES16 catalog has no name as well.
c0f066a
to
80b8d0e
Compare
Should make working with siphon easier for folks. closes #158