{"action":"created","comment":{"url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/comments/89994565","pull_request_review_id":10519186,"id":89994565,"diff_hunk":"@@ -0,0 +1,12 @@\n+# @ImageJ ij\n+# @Dataset data\n+ \n+method_threshold = \"otsu\"\n+ \n+# Apply the threshold\n+thresholded = ij.op().run(\"threshold.%s\" % method_threshold, data.getImgPlus())\n+ ","path":"src/main/resources/script_templates/ImageJ2-Scripts/Apply_Threshold_Fast.py","position":8,"original_position":8,"commit_id":"a693f52e71be7fe59972135f7915c1359a03658e","original_commit_id":"a693f52e71be7fe59972135f7915c1359a03658e","user":{"login":"bnorthan","id":4366342,"avatar_url":"https://avatars.githubusercontent.com/u/4366342?v=3","gravatar_id":"","url":"https://api.github.com/users/bnorthan","html_url":"https://github.com/bnorthan","followers_url":"https://api.github.com/users/bnorthan/followers","following_url":"https://api.github.com/users/bnorthan/following{/other_user}","gists_url":"https://api.github.com/users/bnorthan/gists{/gist_id}","starred_url":"https://api.github.com/users/bnorthan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnorthan/subscriptions","organizations_url":"https://api.github.com/users/bnorthan/orgs","repos_url":"https://api.github.com/users/bnorthan/repos","events_url":"https://api.github.com/users/bnorthan/events{/privacy}","received_events_url":"https://api.github.com/users/bnorthan/received_events","type":"User","site_admin":false},"body":"consider ij.op().threshold().otus(...) ??","created_at":"2016-11-29T11:54:53Z","updated_at":"2016-11-29T11:59:01Z","html_url":"https://github.com/imagej/imagej-scripting/pull/13#discussion_r89994565","pull_request_url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/imagej/imagej-scripting/pulls/comments/89994565"},"html":{"href":"https://github.com/imagej/imagej-scripting/pull/13#discussion_r89994565"},"pull_request":{"href":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13","id":93800679,"html_url":"https://github.com/imagej/imagej-scripting/pull/13","diff_url":"https://github.com/imagej/imagej-scripting/pull/13.diff","patch_url":"https://github.com/imagej/imagej-scripting/pull/13.patch","issue_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/13","number":13,"state":"open","locked":false,"title":"Add IJ2 scripts","user":{"login":"hadim","id":528003,"avatar_url":"https://avatars.githubusercontent.com/u/528003?v=3","gravatar_id":"","url":"https://api.github.com/users/hadim","html_url":"https://github.com/hadim","followers_url":"https://api.github.com/users/hadim/followers","following_url":"https://api.github.com/users/hadim/following{/other_user}","gists_url":"https://api.github.com/users/hadim/gists{/gist_id}","starred_url":"https://api.github.com/users/hadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadim/subscriptions","organizations_url":"https://api.github.com/users/hadim/orgs","repos_url":"https://api.github.com/users/hadim/repos","events_url":"https://api.github.com/users/hadim/events{/privacy}","received_events_url":"https://api.github.com/users/hadim/received_events","type":"User","site_admin":false},"body":"@ctrueden \r\n","created_at":"2016-11-15T16:33:38Z","updated_at":"2016-11-29T11:59:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4e95ac4863e58a04caa55e67ff8dc9b7ae9eee8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13/commits","review_comments_url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13/comments","review_comment_url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/13/comments","statuses_url":"https://api.github.com/repos/imagej/imagej-scripting/statuses/a693f52e71be7fe59972135f7915c1359a03658e","head":{"label":"hadim:ij2-scripts","ref":"ij2-scripts","sha":"a693f52e71be7fe59972135f7915c1359a03658e","user":{"login":"hadim","id":528003,"avatar_url":"https://avatars.githubusercontent.com/u/528003?v=3","gravatar_id":"","url":"https://api.github.com/users/hadim","html_url":"https://github.com/hadim","followers_url":"https://api.github.com/users/hadim/followers","following_url":"https://api.github.com/users/hadim/following{/other_user}","gists_url":"https://api.github.com/users/hadim/gists{/gist_id}","starred_url":"https://api.github.com/users/hadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadim/subscriptions","organizations_url":"https://api.github.com/users/hadim/orgs","repos_url":"https://api.github.com/users/hadim/repos","events_url":"https://api.github.com/users/hadim/events{/privacy}","received_events_url":"https://api.github.com/users/hadim/received_events","type":"User","site_admin":false},"repo":{"id":73832813,"name":"imagej-scripting","full_name":"hadim/imagej-scripting","owner":{"login":"hadim","id":528003,"avatar_url":"https://avatars.githubusercontent.com/u/528003?v=3","gravatar_id":"","url":"https://api.github.com/users/hadim","html_url":"https://github.com/hadim","followers_url":"https://api.github.com/users/hadim/followers","following_url":"https://api.github.com/users/hadim/following{/other_user}","gists_url":"https://api.github.com/users/hadim/gists{/gist_id}","starred_url":"https://api.github.com/users/hadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadim/subscriptions","organizations_url":"https://api.github.com/users/hadim/orgs","repos_url":"https://api.github.com/users/hadim/repos","events_url":"https://api.github.com/users/hadim/events{/privacy}","received_events_url":"https://api.github.com/users/hadim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hadim/imagej-scripting","description":"ImageJ-specific applications of the SciJava script languages","fork":true,"url":"https://api.github.com/repos/hadim/imagej-scripting","forks_url":"https://api.github.com/repos/hadim/imagej-scripting/forks","keys_url":"https://api.github.com/repos/hadim/imagej-scripting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hadim/imagej-scripting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hadim/imagej-scripting/teams","hooks_url":"https://api.github.com/repos/hadim/imagej-scripting/hooks","issue_events_url":"https://api.github.com/repos/hadim/imagej-scripting/issues/events{/number}","events_url":"https://api.github.com/repos/hadim/imagej-scripting/events","assignees_url":"https://api.github.com/repos/hadim/imagej-scripting/assignees{/user}","branches_url":"https://api.github.com/repos/hadim/imagej-scripting/branches{/branch}","tags_url":"https://api.github.com/repos/hadim/imagej-scripting/tags","blobs_url":"https://api.github.com/repos/hadim/imagej-scripting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hadim/imagej-scripting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hadim/imagej-scripting/git/refs{/sha}","trees_url":"https://api.github.com/repos/hadim/imagej-scripting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hadim/imagej-scripting/statuses/{sha}","languages_url":"https://api.github.com/repos/hadim/imagej-scripting/languages","stargazers_url":"https://api.github.com/repos/hadim/imagej-scripting/stargazers","contributors_url":"https://api.github.com/repos/hadim/imagej-scripting/contributors","subscribers_url":"https://api.github.com/repos/hadim/imagej-scripting/subscribers","subscription_url":"https://api.github.com/repos/hadim/imagej-scripting/subscription","commits_url":"https://api.github.com/repos/hadim/imagej-scripting/commits{/sha}","git_commits_url":"https://api.github.com/repos/hadim/imagej-scripting/git/commits{/sha}","comments_url":"https://api.github.com/repos/hadim/imagej-scripting/comments{/number}","issue_comment_url":"https://api.github.com/repos/hadim/imagej-scripting/issues/comments{/number}","contents_url":"https://api.github.com/repos/hadim/imagej-scripting/contents/{+path}","compare_url":"https://api.github.com/repos/hadim/imagej-scripting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hadim/imagej-scripting/merges","archive_url":"https://api.github.com/repos/hadim/imagej-scripting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hadim/imagej-scripting/downloads","issues_url":"https://api.github.com/repos/hadim/imagej-scripting/issues{/number}","pulls_url":"https://api.github.com/repos/hadim/imagej-scripting/pulls{/number}","milestones_url":"https://api.github.com/repos/hadim/imagej-scripting/milestones{/number}","notifications_url":"https://api.github.com/repos/hadim/imagej-scripting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hadim/imagej-scripting/labels{/name}","releases_url":"https://api.github.com/repos/hadim/imagej-scripting/releases{/id}","deployments_url":"https://api.github.com/repos/hadim/imagej-scripting/deployments","created_at":"2016-11-15T16:28:20Z","updated_at":"2016-11-15T16:28:21Z","pushed_at":"2016-11-15T16:33:18Z","git_url":"git://github.com/hadim/imagej-scripting.git","ssh_url":"git@github.com:hadim/imagej-scripting.git","clone_url":"https://github.com/hadim/imagej-scripting.git","svn_url":"https://github.com/hadim/imagej-scripting","homepage":null,"size":54,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"imagej:master","ref":"master","sha":"5942e9bd75f76e648e97bca1110793340f2d6ab8","user":{"login":"imagej","id":1268233,"avatar_url":"https://avatars.githubusercontent.com/u/1268233?v=3","gravatar_id":"","url":"https://api.github.com/users/imagej","html_url":"https://github.com/imagej","followers_url":"https://api.github.com/users/imagej/followers","following_url":"https://api.github.com/users/imagej/following{/other_user}","gists_url":"https://api.github.com/users/imagej/gists{/gist_id}","starred_url":"https://api.github.com/users/imagej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imagej/subscriptions","organizations_url":"https://api.github.com/users/imagej/orgs","repos_url":"https://api.github.com/users/imagej/repos","events_url":"https://api.github.com/users/imagej/events{/privacy}","received_events_url":"https://api.github.com/users/imagej/received_events","type":"Organization","site_admin":false},"repo":{"id":41371164,"name":"imagej-scripting","full_name":"imagej/imagej-scripting","owner":{"login":"imagej","id":1268233,"avatar_url":"https://avatars.githubusercontent.com/u/1268233?v=3","gravatar_id":"","url":"https://api.github.com/users/imagej","html_url":"https://github.com/imagej","followers_url":"https://api.github.com/users/imagej/followers","following_url":"https://api.github.com/users/imagej/following{/other_user}","gists_url":"https://api.github.com/users/imagej/gists{/gist_id}","starred_url":"https://api.github.com/users/imagej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imagej/subscriptions","organizations_url":"https://api.github.com/users/imagej/orgs","repos_url":"https://api.github.com/users/imagej/repos","events_url":"https://api.github.com/users/imagej/events{/privacy}","received_events_url":"https://api.github.com/users/imagej/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/imagej/imagej-scripting","description":"ImageJ-specific applications of the SciJava script languages","fork":false,"url":"https://api.github.com/repos/imagej/imagej-scripting","forks_url":"https://api.github.com/repos/imagej/imagej-scripting/forks","keys_url":"https://api.github.com/repos/imagej/imagej-scripting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imagej/imagej-scripting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imagej/imagej-scripting/teams","hooks_url":"https://api.github.com/repos/imagej/imagej-scripting/hooks","issue_events_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/events{/number}","events_url":"https://api.github.com/repos/imagej/imagej-scripting/events","assignees_url":"https://api.github.com/repos/imagej/imagej-scripting/assignees{/user}","branches_url":"https://api.github.com/repos/imagej/imagej-scripting/branches{/branch}","tags_url":"https://api.github.com/repos/imagej/imagej-scripting/tags","blobs_url":"https://api.github.com/repos/imagej/imagej-scripting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imagej/imagej-scripting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imagej/imagej-scripting/git/refs{/sha}","trees_url":"https://api.github.com/repos/imagej/imagej-scripting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imagej/imagej-scripting/statuses/{sha}","languages_url":"https://api.github.com/repos/imagej/imagej-scripting/languages","stargazers_url":"https://api.github.com/repos/imagej/imagej-scripting/stargazers","contributors_url":"https://api.github.com/repos/imagej/imagej-scripting/contributors","subscribers_url":"https://api.github.com/repos/imagej/imagej-scripting/subscribers","subscription_url":"https://api.github.com/repos/imagej/imagej-scripting/subscription","commits_url":"https://api.github.com/repos/imagej/imagej-scripting/commits{/sha}","git_commits_url":"https://api.github.com/repos/imagej/imagej-scripting/git/commits{/sha}","comments_url":"https://api.github.com/repos/imagej/imagej-scripting/comments{/number}","issue_comment_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/comments{/number}","contents_url":"https://api.github.com/repos/imagej/imagej-scripting/contents/{+path}","compare_url":"https://api.github.com/repos/imagej/imagej-scripting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imagej/imagej-scripting/merges","archive_url":"https://api.github.com/repos/imagej/imagej-scripting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imagej/imagej-scripting/downloads","issues_url":"https://api.github.com/repos/imagej/imagej-scripting/issues{/number}","pulls_url":"https://api.github.com/repos/imagej/imagej-scripting/pulls{/number}","milestones_url":"https://api.github.com/repos/imagej/imagej-scripting/milestones{/number}","notifications_url":"https://api.github.com/repos/imagej/imagej-scripting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imagej/imagej-scripting/labels{/name}","releases_url":"https://api.github.com/repos/imagej/imagej-scripting/releases{/id}","deployments_url":"https://api.github.com/repos/imagej/imagej-scripting/deployments","created_at":"2015-08-25T15:21:18Z","updated_at":"2016-11-22T13:02:23Z","pushed_at":"2016-11-28T13:39:46Z","git_url":"git://github.com/imagej/imagej-scripting.git","ssh_url":"git@github.com:imagej/imagej-scripting.git","clone_url":"https://github.com/imagej/imagej-scripting.git","svn_url":"https://github.com/imagej/imagej-scripting","homepage":null,"size":62,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13"},"html":{"href":"https://github.com/imagej/imagej-scripting/pull/13"},"issue":{"href":"https://api.github.com/repos/imagej/imagej-scripting/issues/13"},"comments":{"href":"https://api.github.com/repos/imagej/imagej-scripting/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/imagej/imagej-scripting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/imagej/imagej-scripting/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/imagej/imagej-scripting/statuses/a693f52e71be7fe59972135f7915c1359a03658e"}}}}
{"actor":{"display_login":"bnorthan"}}