Skip to content

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

Merged
rahulporuri merged 1 commit into
masterfrom
dev/replace-depends_on-with-observe
Apr 16, 2021
Merged

Replace "depends_on" in "Property" traits with "observe"#400
rahulporuri merged 1 commit into
masterfrom
dev/replace-depends_on-with-observe

Conversation

@rahulporuri
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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