Skip to content

Add improved reprs#284

Open
zbruick wants to merge 1 commit intoUnidata:mainfrom
zbruick:repr
Open

Add improved reprs#284
zbruick wants to merge 1 commit intoUnidata:mainfrom
zbruick:repr

Conversation

@zbruick
Copy link
Contributor

@zbruick zbruick commented Oct 1, 2019

Description Of Changes

Add improved reprs based on feedback in #260.

Checklist

__repr__ = __str__
def __repr__(self):
"""Return informative repr for TDSCatalog."""
return str(TDSCatalog) + ' ' + self.catalog_name
Copy link
Member

Choose a reason for hiding this comment

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

Isn’t this just returning then self.catalog_name + ‘ ‘ + self.catalog_name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated this to a new return

@zbruick
Copy link
Contributor Author

zbruick commented Nov 1, 2019

I can reproduce the error locally on the Radar example. I'll look into it.

@zbruick
Copy link
Contributor Author

zbruick commented Nov 1, 2019

Seems like the radar issue was spurious. This is ready for review again.

@dopplershift dopplershift modified the milestones: 0.9, 0.10 Mar 5, 2021
@dopplershift dopplershift changed the base branch from master to main November 5, 2024 00:31
@dopplershift dopplershift requested a review from dcamron as a code owner November 5, 2024 00:31
@dopplershift dopplershift removed this from the 0.10 milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

improve repr of siphon objects

2 participants