{"action":"opened","number":786,"pull_request":{"url":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/786","id":96778947,"html_url":"https://github.com/OpenChemistry/tomviz/pull/786","diff_url":"https://github.com/OpenChemistry/tomviz/pull/786.diff","patch_url":"https://github.com/OpenChemistry/tomviz/pull/786.patch","issue_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/786","number":786,"state":"open","locked":false,"title":"Add support for setting progress message from Python operator","user":{"login":"cjh1","id":1031053,"avatar_url":"https://avatars.githubusercontent.com/u/1031053?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh1","html_url":"https://github.com/cjh1","followers_url":"https://api.github.com/users/cjh1/followers","following_url":"https://api.github.com/users/cjh1/following{/other_user}","gists_url":"https://api.github.com/users/cjh1/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh1/subscriptions","organizations_url":"https://api.github.com/users/cjh1/orgs","repos_url":"https://api.github.com/users/cjh1/repos","events_url":"https://api.github.com/users/cjh1/events{/privacy}","received_events_url":"https://api.github.com/users/cjh1/received_events","type":"User","site_admin":false},"body":"This PR fixes #782. It adds support for setting a progress messages that can be used in the progress dialog title, here is an example: \r\n\r\n![progress](https://cloud.githubusercontent.com/assets/1031053/20937946/0842ccec-bbb7-11e6-8ca0-f82228aa13a6.png)\r\n\r\nIt also makes the progress Python API a little more consistent using properties for the progress value and progress message. So update the progress and message looks like this.\r\n\r\n```python\r\n\r\nself.progress.value = 10\r\nself.progress.message = 'We are getting there..'\r\n```\r\n\r\nNote it changes the Operator progress methods, again to make the name more consistent.","created_at":"2016-12-06T18:26:11Z","updated_at":"2016-12-06T18:26:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/786/commits","review_comments_url":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/786/comments","review_comment_url":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/786/comments","statuses_url":"https://api.github.com/repos/OpenChemistry/tomviz/statuses/7ea02cb490aefb019ac08afeac73943b9f1436f9","head":{"label":"cjh1:782-progress-messages","ref":"782-progress-messages","sha":"7ea02cb490aefb019ac08afeac73943b9f1436f9","user":{"login":"cjh1","id":1031053,"avatar_url":"https://avatars.githubusercontent.com/u/1031053?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh1","html_url":"https://github.com/cjh1","followers_url":"https://api.github.com/users/cjh1/followers","following_url":"https://api.github.com/users/cjh1/following{/other_user}","gists_url":"https://api.github.com/users/cjh1/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh1/subscriptions","organizations_url":"https://api.github.com/users/cjh1/orgs","repos_url":"https://api.github.com/users/cjh1/repos","events_url":"https://api.github.com/users/cjh1/events{/privacy}","received_events_url":"https://api.github.com/users/cjh1/received_events","type":"User","site_admin":false},"repo":{"id":37735532,"name":"tomviz","full_name":"cjh1/tomviz","owner":{"login":"cjh1","id":1031053,"avatar_url":"https://avatars.githubusercontent.com/u/1031053?v=3","gravatar_id":"","url":"https://api.github.com/users/cjh1","html_url":"https://github.com/cjh1","followers_url":"https://api.github.com/users/cjh1/followers","following_url":"https://api.github.com/users/cjh1/following{/other_user}","gists_url":"https://api.github.com/users/cjh1/gists{/gist_id}","starred_url":"https://api.github.com/users/cjh1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjh1/subscriptions","organizations_url":"https://api.github.com/users/cjh1/orgs","repos_url":"https://api.github.com/users/cjh1/repos","events_url":"https://api.github.com/users/cjh1/events{/privacy}","received_events_url":"https://api.github.com/users/cjh1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cjh1/tomviz","description":"Cross platform, open source application for the processing, visualization, and analysis of 3D tomography data","fork":true,"url":"https://api.github.com/repos/cjh1/tomviz","forks_url":"https://api.github.com/repos/cjh1/tomviz/forks","keys_url":"https://api.github.com/repos/cjh1/tomviz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cjh1/tomviz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cjh1/tomviz/teams","hooks_url":"https://api.github.com/repos/cjh1/tomviz/hooks","issue_events_url":"https://api.github.com/repos/cjh1/tomviz/issues/events{/number}","events_url":"https://api.github.com/repos/cjh1/tomviz/events","assignees_url":"https://api.github.com/repos/cjh1/tomviz/assignees{/user}","branches_url":"https://api.github.com/repos/cjh1/tomviz/branches{/branch}","tags_url":"https://api.github.com/repos/cjh1/tomviz/tags","blobs_url":"https://api.github.com/repos/cjh1/tomviz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cjh1/tomviz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cjh1/tomviz/git/refs{/sha}","trees_url":"https://api.github.com/repos/cjh1/tomviz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cjh1/tomviz/statuses/{sha}","languages_url":"https://api.github.com/repos/cjh1/tomviz/languages","stargazers_url":"https://api.github.com/repos/cjh1/tomviz/stargazers","contributors_url":"https://api.github.com/repos/cjh1/tomviz/contributors","subscribers_url":"https://api.github.com/repos/cjh1/tomviz/subscribers","subscription_url":"https://api.github.com/repos/cjh1/tomviz/subscription","commits_url":"https://api.github.com/repos/cjh1/tomviz/commits{/sha}","git_commits_url":"https://api.github.com/repos/cjh1/tomviz/git/commits{/sha}","comments_url":"https://api.github.com/repos/cjh1/tomviz/comments{/number}","issue_comment_url":"https://api.github.com/repos/cjh1/tomviz/issues/comments{/number}","contents_url":"https://api.github.com/repos/cjh1/tomviz/contents/{+path}","compare_url":"https://api.github.com/repos/cjh1/tomviz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cjh1/tomviz/merges","archive_url":"https://api.github.com/repos/cjh1/tomviz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cjh1/tomviz/downloads","issues_url":"https://api.github.com/repos/cjh1/tomviz/issues{/number}","pulls_url":"https://api.github.com/repos/cjh1/tomviz/pulls{/number}","milestones_url":"https://api.github.com/repos/cjh1/tomviz/milestones{/number}","notifications_url":"https://api.github.com/repos/cjh1/tomviz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cjh1/tomviz/labels{/name}","releases_url":"https://api.github.com/repos/cjh1/tomviz/releases{/id}","deployments_url":"https://api.github.com/repos/cjh1/tomviz/deployments","created_at":"2015-06-19T17:15:17Z","updated_at":"2016-08-11T21:06:10Z","pushed_at":"2016-12-06T18:20:10Z","git_url":"git://github.com/cjh1/tomviz.git","ssh_url":"git@github.com:cjh1/tomviz.git","clone_url":"https://github.com/cjh1/tomviz.git","svn_url":"https://github.com/cjh1/tomviz","homepage":"http://tomviz.org/","size":8088,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenChemistry:master","ref":"master","sha":"62819d84f8b0cc5f2bc23c7596bf06af1ed097df","user":{"login":"OpenChemistry","id":1206314,"avatar_url":"https://avatars.githubusercontent.com/u/1206314?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenChemistry","html_url":"https://github.com/OpenChemistry","followers_url":"https://api.github.com/users/OpenChemistry/followers","following_url":"https://api.github.com/users/OpenChemistry/following{/other_user}","gists_url":"https://api.github.com/users/OpenChemistry/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenChemistry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenChemistry/subscriptions","organizations_url":"https://api.github.com/users/OpenChemistry/orgs","repos_url":"https://api.github.com/users/OpenChemistry/repos","events_url":"https://api.github.com/users/OpenChemistry/events{/privacy}","received_events_url":"https://api.github.com/users/OpenChemistry/received_events","type":"Organization","site_admin":false},"repo":{"id":17905329,"name":"tomviz","full_name":"OpenChemistry/tomviz","owner":{"login":"OpenChemistry","id":1206314,"avatar_url":"https://avatars.githubusercontent.com/u/1206314?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenChemistry","html_url":"https://github.com/OpenChemistry","followers_url":"https://api.github.com/users/OpenChemistry/followers","following_url":"https://api.github.com/users/OpenChemistry/following{/other_user}","gists_url":"https://api.github.com/users/OpenChemistry/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenChemistry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenChemistry/subscriptions","organizations_url":"https://api.github.com/users/OpenChemistry/orgs","repos_url":"https://api.github.com/users/OpenChemistry/repos","events_url":"https://api.github.com/users/OpenChemistry/events{/privacy}","received_events_url":"https://api.github.com/users/OpenChemistry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenChemistry/tomviz","description":"Cross platform, open source application for the processing, visualization, and analysis of 3D tomography data","fork":false,"url":"https://api.github.com/repos/OpenChemistry/tomviz","forks_url":"https://api.github.com/repos/OpenChemistry/tomviz/forks","keys_url":"https://api.github.com/repos/OpenChemistry/tomviz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenChemistry/tomviz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenChemistry/tomviz/teams","hooks_url":"https://api.github.com/repos/OpenChemistry/tomviz/hooks","issue_events_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/events{/number}","events_url":"https://api.github.com/repos/OpenChemistry/tomviz/events","assignees_url":"https://api.github.com/repos/OpenChemistry/tomviz/assignees{/user}","branches_url":"https://api.github.com/repos/OpenChemistry/tomviz/branches{/branch}","tags_url":"https://api.github.com/repos/OpenChemistry/tomviz/tags","blobs_url":"https://api.github.com/repos/OpenChemistry/tomviz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenChemistry/tomviz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenChemistry/tomviz/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenChemistry/tomviz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenChemistry/tomviz/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenChemistry/tomviz/languages","stargazers_url":"https://api.github.com/repos/OpenChemistry/tomviz/stargazers","contributors_url":"https://api.github.com/repos/OpenChemistry/tomviz/contributors","subscribers_url":"https://api.github.com/repos/OpenChemistry/tomviz/subscribers","subscription_url":"https://api.github.com/repos/OpenChemistry/tomviz/subscription","commits_url":"https://api.github.com/repos/OpenChemistry/tomviz/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenChemistry/tomviz/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenChemistry/tomviz/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenChemistry/tomviz/contents/{+path}","compare_url":"https://api.github.com/repos/OpenChemistry/tomviz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenChemistry/tomviz/merges","archive_url":"https://api.github.com/repos/OpenChemistry/tomviz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenChemistry/tomviz/downloads","issues_url":"https://api.github.com/repos/OpenChemistry/tomviz/issues{/number}","pulls_url":"https://api.github.com/repos/OpenChemistry/tomviz/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenChemistry/tomviz/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenChemistry/tomviz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenChemistry/tomviz/labels{/name}","releases_url":"https://api.github.com/repos/OpenChemistry/tomviz/releases{/id}","deployments_url":"https://api.github.com/repos/OpenChemistry/tomviz/deployments","created_at":"2014-03-19T13:35:20Z","updated_at":"2016-11-24T09:23:14Z","pushed_at":"2016-12-06T18:26:12Z","git_url":"git://github.com/OpenChemistry/tomviz.git","ssh_url":"git@github.com:OpenChemistry/tomviz.git","clone_url":"https://github.com/OpenChemistry/tomviz.git","svn_url":"https://github.com/OpenChemistry/tomviz","homepage":"http://tomviz.org/","size":8139,"stargazers_count":71,"watchers_count":71,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":75,"forks":23,"open_issues":75,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/786"},"html":{"href":"https://github.com/OpenChemistry/tomviz/pull/786"},"issue":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/issues/786"},"comments":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/issues/786/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/786/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/pulls/786/commits"},"statuses":{"href":"https://api.github.com/repos/OpenChemistry/tomviz/statuses/7ea02cb490aefb019ac08afeac73943b9f1436f9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":142,"deletions":38,"changed_files":23}}
{"actor":{"display_login":"cjh1"}}