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

Moved solar system settings to proxy object #98

Merged
merged 4 commits into from
May 1, 2018

Conversation

ojustino
Copy link
Contributor

Is it OK that tab-completion also shows the inherited methods from traitlets' HasTrait along with the solar system traits?

Edits to the docs are upcoming.

@ojustino
Copy link
Contributor Author

I edited the docs to to reflect the proxy object.

I also enabled solar system lighting after testing it and being able to toggle it without issue -- both true and false worked. Are you two (cc @philrosenfield) still having problems with it?

Copy link
Member

@astrofrog astrofrog left a comment

Choose a reason for hiding this comment

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

I like this a lot more API-wise, thanks!

docs/views.rst Outdated

Panorama view
-------------
**Keep or no?**
Copy link
Member

Choose a reason for hiding this comment

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

Is there any harm in keeping this for now?

Copy link
Contributor Author

@ojustino ojustino Apr 30, 2018

Choose a reason for hiding this comment

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

I don't think so. My knowledge of it is just incomplete because I'm not sure what the mode-specific controls are. I attempted to address this in the new commit.


class SolarSystem(HasTraits):

def __init__(self, BaseWWTWidget):
Copy link
Member

Choose a reason for hiding this comment

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

I would avoid using BaseWWTWidget here as that is the class name (not the instance) - instead use base_wwt_widget

@astrofrog astrofrog merged commit e20d602 into WorldWideTelescope:master May 1, 2018
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.

2 participants