{"action":"closed","number":313,"pull_request":{"url":"https://api.github.com/repos/thunder-project/thunder/pulls/313","id":70984832,"html_url":"https://github.com/thunder-project/thunder/pull/313","diff_url":"https://github.com/thunder-project/thunder/pull/313.diff","patch_url":"https://github.com/thunder-project/thunder/pull/313.patch","issue_url":"https://api.github.com/repos/thunder-project/thunder/issues/313","number":313,"state":"closed","locked":false,"title":"tiffs with npages not dividing by pageCount will give a warning instead an error","user":{"login":"boazmohar","id":9434009,"avatar_url":"https://avatars.githubusercontent.com/u/9434009?v=3","gravatar_id":"","url":"https://api.github.com/users/boazmohar","html_url":"https://github.com/boazmohar","followers_url":"https://api.github.com/users/boazmohar/followers","following_url":"https://api.github.com/users/boazmohar/following{/other_user}","gists_url":"https://api.github.com/users/boazmohar/gists{/gist_id}","starred_url":"https://api.github.com/users/boazmohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boazmohar/subscriptions","organizations_url":"https://api.github.com/users/boazmohar/orgs","repos_url":"https://api.github.com/users/boazmohar/repos","events_url":"https://api.github.com/users/boazmohar/events{/privacy}","received_events_url":"https://api.github.com/users/boazmohar/received_events","type":"User","site_admin":false},"body":"Alternative implementation to #279 \r\nThinking of adding a flag to `fromtif()` that would default to the current behavior of rising an error.\r\nAlso I am sending the warning using the `warning` module, I saw another way using the spark logger:\r\n```python \r\nlog4jLogger = sc._jvm.org.apache.log4j\r\nLOGGER = log4jLogger.LogManager.getLogger(__name__)\r\nLOGGER.warning(\"number of planes...\")\r\n```\r\n@sofroniewn @freeman-lab What do you guys think?\r\n  ","created_at":"2016-05-22T18:46:28Z","updated_at":"2016-05-26T23:37:39Z","closed_at":"2016-05-26T23:37:39Z","merged_at":"2016-05-26T23:37:39Z","merge_commit_sha":"dd7ed835385232e5573a0cd6800de5d8a8fdfd5c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thunder-project/thunder/pulls/313/commits","review_comments_url":"https://api.github.com/repos/thunder-project/thunder/pulls/313/comments","review_comment_url":"https://api.github.com/repos/thunder-project/thunder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thunder-project/thunder/issues/313/comments","statuses_url":"https://api.github.com/repos/thunder-project/thunder/statuses/05bf7cb0a164fb7a0af7614daf25c0e0f8676e26","head":{"label":"boazmohar:readTiffPage","ref":"readTiffPage","sha":"05bf7cb0a164fb7a0af7614daf25c0e0f8676e26","user":{"login":"boazmohar","id":9434009,"avatar_url":"https://avatars.githubusercontent.com/u/9434009?v=3","gravatar_id":"","url":"https://api.github.com/users/boazmohar","html_url":"https://github.com/boazmohar","followers_url":"https://api.github.com/users/boazmohar/followers","following_url":"https://api.github.com/users/boazmohar/following{/other_user}","gists_url":"https://api.github.com/users/boazmohar/gists{/gist_id}","starred_url":"https://api.github.com/users/boazmohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boazmohar/subscriptions","organizations_url":"https://api.github.com/users/boazmohar/orgs","repos_url":"https://api.github.com/users/boazmohar/repos","events_url":"https://api.github.com/users/boazmohar/events{/privacy}","received_events_url":"https://api.github.com/users/boazmohar/received_events","type":"User","site_admin":false},"repo":{"id":56720447,"name":"thunder","full_name":"boazmohar/thunder","owner":{"login":"boazmohar","id":9434009,"avatar_url":"https://avatars.githubusercontent.com/u/9434009?v=3","gravatar_id":"","url":"https://api.github.com/users/boazmohar","html_url":"https://github.com/boazmohar","followers_url":"https://api.github.com/users/boazmohar/followers","following_url":"https://api.github.com/users/boazmohar/following{/other_user}","gists_url":"https://api.github.com/users/boazmohar/gists{/gist_id}","starred_url":"https://api.github.com/users/boazmohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boazmohar/subscriptions","organizations_url":"https://api.github.com/users/boazmohar/orgs","repos_url":"https://api.github.com/users/boazmohar/repos","events_url":"https://api.github.com/users/boazmohar/events{/privacy}","received_events_url":"https://api.github.com/users/boazmohar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boazmohar/thunder","description":"scalable analysis of images and time series ","fork":true,"url":"https://api.github.com/repos/boazmohar/thunder","forks_url":"https://api.github.com/repos/boazmohar/thunder/forks","keys_url":"https://api.github.com/repos/boazmohar/thunder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boazmohar/thunder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boazmohar/thunder/teams","hooks_url":"https://api.github.com/repos/boazmohar/thunder/hooks","issue_events_url":"https://api.github.com/repos/boazmohar/thunder/issues/events{/number}","events_url":"https://api.github.com/repos/boazmohar/thunder/events","assignees_url":"https://api.github.com/repos/boazmohar/thunder/assignees{/user}","branches_url":"https://api.github.com/repos/boazmohar/thunder/branches{/branch}","tags_url":"https://api.github.com/repos/boazmohar/thunder/tags","blobs_url":"https://api.github.com/repos/boazmohar/thunder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boazmohar/thunder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boazmohar/thunder/git/refs{/sha}","trees_url":"https://api.github.com/repos/boazmohar/thunder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boazmohar/thunder/statuses/{sha}","languages_url":"https://api.github.com/repos/boazmohar/thunder/languages","stargazers_url":"https://api.github.com/repos/boazmohar/thunder/stargazers","contributors_url":"https://api.github.com/repos/boazmohar/thunder/contributors","subscribers_url":"https://api.github.com/repos/boazmohar/thunder/subscribers","subscription_url":"https://api.github.com/repos/boazmohar/thunder/subscription","commits_url":"https://api.github.com/repos/boazmohar/thunder/commits{/sha}","git_commits_url":"https://api.github.com/repos/boazmohar/thunder/git/commits{/sha}","comments_url":"https://api.github.com/repos/boazmohar/thunder/comments{/number}","issue_comment_url":"https://api.github.com/repos/boazmohar/thunder/issues/comments{/number}","contents_url":"https://api.github.com/repos/boazmohar/thunder/contents/{+path}","compare_url":"https://api.github.com/repos/boazmohar/thunder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boazmohar/thunder/merges","archive_url":"https://api.github.com/repos/boazmohar/thunder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boazmohar/thunder/downloads","issues_url":"https://api.github.com/repos/boazmohar/thunder/issues{/number}","pulls_url":"https://api.github.com/repos/boazmohar/thunder/pulls{/number}","milestones_url":"https://api.github.com/repos/boazmohar/thunder/milestones{/number}","notifications_url":"https://api.github.com/repos/boazmohar/thunder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boazmohar/thunder/labels{/name}","releases_url":"https://api.github.com/repos/boazmohar/thunder/releases{/id}","deployments_url":"https://api.github.com/repos/boazmohar/thunder/deployments","created_at":"2016-04-20T20:57:52Z","updated_at":"2016-04-20T20:57:53Z","pushed_at":"2016-05-26T15:31:09Z","git_url":"git://github.com/boazmohar/thunder.git","ssh_url":"git@github.com:boazmohar/thunder.git","clone_url":"https://github.com/boazmohar/thunder.git","svn_url":"https://github.com/boazmohar/thunder","homepage":"http://thunder-project.org","size":72230,"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":"thunder-project:master","ref":"master","sha":"c82c9e932603d5dcec4c87fa9c2d3646c9b4a65d","user":{"login":"thunder-project","id":10603853,"avatar_url":"https://avatars.githubusercontent.com/u/10603853?v=3","gravatar_id":"","url":"https://api.github.com/users/thunder-project","html_url":"https://github.com/thunder-project","followers_url":"https://api.github.com/users/thunder-project/followers","following_url":"https://api.github.com/users/thunder-project/following{/other_user}","gists_url":"https://api.github.com/users/thunder-project/gists{/gist_id}","starred_url":"https://api.github.com/users/thunder-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunder-project/subscriptions","organizations_url":"https://api.github.com/users/thunder-project/orgs","repos_url":"https://api.github.com/users/thunder-project/repos","events_url":"https://api.github.com/users/thunder-project/events{/privacy}","received_events_url":"https://api.github.com/users/thunder-project/received_events","type":"Organization","site_admin":false},"repo":{"id":10616272,"name":"thunder","full_name":"thunder-project/thunder","owner":{"login":"thunder-project","id":10603853,"avatar_url":"https://avatars.githubusercontent.com/u/10603853?v=3","gravatar_id":"","url":"https://api.github.com/users/thunder-project","html_url":"https://github.com/thunder-project","followers_url":"https://api.github.com/users/thunder-project/followers","following_url":"https://api.github.com/users/thunder-project/following{/other_user}","gists_url":"https://api.github.com/users/thunder-project/gists{/gist_id}","starred_url":"https://api.github.com/users/thunder-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunder-project/subscriptions","organizations_url":"https://api.github.com/users/thunder-project/orgs","repos_url":"https://api.github.com/users/thunder-project/repos","events_url":"https://api.github.com/users/thunder-project/events{/privacy}","received_events_url":"https://api.github.com/users/thunder-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thunder-project/thunder","description":"scalable analysis of images and time series ","fork":false,"url":"https://api.github.com/repos/thunder-project/thunder","forks_url":"https://api.github.com/repos/thunder-project/thunder/forks","keys_url":"https://api.github.com/repos/thunder-project/thunder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thunder-project/thunder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thunder-project/thunder/teams","hooks_url":"https://api.github.com/repos/thunder-project/thunder/hooks","issue_events_url":"https://api.github.com/repos/thunder-project/thunder/issues/events{/number}","events_url":"https://api.github.com/repos/thunder-project/thunder/events","assignees_url":"https://api.github.com/repos/thunder-project/thunder/assignees{/user}","branches_url":"https://api.github.com/repos/thunder-project/thunder/branches{/branch}","tags_url":"https://api.github.com/repos/thunder-project/thunder/tags","blobs_url":"https://api.github.com/repos/thunder-project/thunder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thunder-project/thunder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thunder-project/thunder/git/refs{/sha}","trees_url":"https://api.github.com/repos/thunder-project/thunder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thunder-project/thunder/statuses/{sha}","languages_url":"https://api.github.com/repos/thunder-project/thunder/languages","stargazers_url":"https://api.github.com/repos/thunder-project/thunder/stargazers","contributors_url":"https://api.github.com/repos/thunder-project/thunder/contributors","subscribers_url":"https://api.github.com/repos/thunder-project/thunder/subscribers","subscription_url":"https://api.github.com/repos/thunder-project/thunder/subscription","commits_url":"https://api.github.com/repos/thunder-project/thunder/commits{/sha}","git_commits_url":"https://api.github.com/repos/thunder-project/thunder/git/commits{/sha}","comments_url":"https://api.github.com/repos/thunder-project/thunder/comments{/number}","issue_comment_url":"https://api.github.com/repos/thunder-project/thunder/issues/comments{/number}","contents_url":"https://api.github.com/repos/thunder-project/thunder/contents/{+path}","compare_url":"https://api.github.com/repos/thunder-project/thunder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thunder-project/thunder/merges","archive_url":"https://api.github.com/repos/thunder-project/thunder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thunder-project/thunder/downloads","issues_url":"https://api.github.com/repos/thunder-project/thunder/issues{/number}","pulls_url":"https://api.github.com/repos/thunder-project/thunder/pulls{/number}","milestones_url":"https://api.github.com/repos/thunder-project/thunder/milestones{/number}","notifications_url":"https://api.github.com/repos/thunder-project/thunder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thunder-project/thunder/labels{/name}","releases_url":"https://api.github.com/repos/thunder-project/thunder/releases{/id}","deployments_url":"https://api.github.com/repos/thunder-project/thunder/deployments","created_at":"2013-06-11T07:00:47Z","updated_at":"2016-05-26T13:16:58Z","pushed_at":"2016-05-26T23:37:39Z","git_url":"git://github.com/thunder-project/thunder.git","ssh_url":"git@github.com:thunder-project/thunder.git","clone_url":"https://github.com/thunder-project/thunder.git","svn_url":"https://github.com/thunder-project/thunder","homepage":"http://thunder-project.org","size":73697,"stargazers_count":554,"watchers_count":554,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":147,"mirror_url":null,"open_issues_count":69,"forks":147,"open_issues":69,"watchers":554,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thunder-project/thunder/pulls/313"},"html":{"href":"https://github.com/thunder-project/thunder/pull/313"},"issue":{"href":"https://api.github.com/repos/thunder-project/thunder/issues/313"},"comments":{"href":"https://api.github.com/repos/thunder-project/thunder/issues/313/comments"},"review_comments":{"href":"https://api.github.com/repos/thunder-project/thunder/pulls/313/comments"},"review_comment":{"href":"https://api.github.com/repos/thunder-project/thunder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thunder-project/thunder/pulls/313/commits"},"statuses":{"href":"https://api.github.com/repos/thunder-project/thunder/statuses/05bf7cb0a164fb7a0af7614daf25c0e0f8676e26"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"freeman-lab","id":3387500,"avatar_url":"https://avatars.githubusercontent.com/u/3387500?v=3","gravatar_id":"","url":"https://api.github.com/users/freeman-lab","html_url":"https://github.com/freeman-lab","followers_url":"https://api.github.com/users/freeman-lab/followers","following_url":"https://api.github.com/users/freeman-lab/following{/other_user}","gists_url":"https://api.github.com/users/freeman-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/freeman-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeman-lab/subscriptions","organizations_url":"https://api.github.com/users/freeman-lab/orgs","repos_url":"https://api.github.com/users/freeman-lab/repos","events_url":"https://api.github.com/users/freeman-lab/events{/privacy}","received_events_url":"https://api.github.com/users/freeman-lab/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":40,"deletions":20,"changed_files":3}}
{"actor":{"display_login":"freeman-lab"}}