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

Replace "depends_on" in "Property" traits with "observe" #400

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

rahulporuri
Copy link
Contributor

This PR replaces the depends_on in Property traits with observe instead. I tested that the attractors example still works as expected.

	modified:   envisage/examples/demo/plugins/tasks/attractors/model/henon.py
	modified:   envisage/examples/demo/plugins/tasks/attractors/model/i_model_3d.py
	modified:   envisage/examples/demo/plugins/tasks/attractors/model/lorenz.py
	modified:   envisage/examples/demo/plugins/tasks/attractors/model/rossler.py
	modified:   envisage/examples/demo/plugins/tasks/attractors/model_help_pane.py
	modified:   envisage/examples/demo/plugins/tasks/attractors/plot_2d_pane.py
	modified:   envisage/plugins/python_shell/view/namespace_view.py
	modified:   envisage/ui/tasks/action/task_window_toggle_group.py
	modified:   envisage/ui/tasks/task_window.py
	modified:   examples/legacy/plugins/tasks/ipython_kernel/example_task.py
	modified:   examples/legacy/plugins/tasks/ipython_kernel/python_editor.py
Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

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

Changes LGTM

I tested the attractors example as well and generally things seemed okay.

However, if I change the initial_point of any of the models I get an error in the traceback. I checked and the same thing was occurring on master, so it is through no fault of this PR.

:shipit:

@rahulporuri rahulporuri merged commit e3b0877 into master Apr 16, 2021
@rahulporuri rahulporuri deleted the dev/replace-depends_on-with-observe branch April 16, 2021 12:58
@rahulporuri
Copy link
Contributor Author

created #404 for the attractors example issue

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