{"action":"closed","number":76,"pull_request":{"url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/76","id":55391264,"html_url":"https://github.com/BD2KGenomics/toil-scripts/pull/76","diff_url":"https://github.com/BD2KGenomics/toil-scripts/pull/76.diff","patch_url":"https://github.com/BD2KGenomics/toil-scripts/pull/76.patch","issue_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/76","number":76,"state":"closed","locked":false,"title":"Refactor packaging","user":{"login":"fnothaft","id":3752466,"avatar_url":"https://avatars.githubusercontent.com/u/3752466?v=3","gravatar_id":"","url":"https://api.github.com/users/fnothaft","html_url":"https://github.com/fnothaft","followers_url":"https://api.github.com/users/fnothaft/followers","following_url":"https://api.github.com/users/fnothaft/following{/other_user}","gists_url":"https://api.github.com/users/fnothaft/gists{/gist_id}","starred_url":"https://api.github.com/users/fnothaft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnothaft/subscriptions","organizations_url":"https://api.github.com/users/fnothaft/orgs","repos_url":"https://api.github.com/users/fnothaft/repos","events_url":"https://api.github.com/users/fnothaft/events{/privacy}","received_events_url":"https://api.github.com/users/fnothaft/received_events","type":"User","site_admin":false},"body":"This is just the two commits that refactor the package structure of toil-scripts from #73. @hannes-ucsc suggested that we split these out into a separate PR that can merge quickly, as to not block development, which I agree with. I am still working to address the following two comments that @hannes-ucsc made on #73:\r\n\r\n> 3. User scripts (or rather user modules) must be invoked with python -m followed by a fully-qualified module path, e.g. ...\r\n\r\n> 5. Some of the module and package names are a bit long, maybe we can remove the _pipeline from the end of module or package names. We could also adopt the convention of always naming user modules toil.py or main.py. The above example would then become ...\r\n","created_at":"2016-01-07T21:15:20Z","updated_at":"2016-01-08T20:49:23Z","closed_at":"2016-01-08T20:49:23Z","merged_at":null,"merge_commit_sha":"95517cad48d167af4c8bd7187798f6d726999c42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/76/commits","review_comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/76/comments","review_comment_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/76/comments","statuses_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/6f0a88e324fa6ea0c201a4b309ee484a7971c5ff","head":{"label":"fnothaft:refactor-packages","ref":"refactor-packages","sha":"6f0a88e324fa6ea0c201a4b309ee484a7971c5ff","user":{"login":"fnothaft","id":3752466,"avatar_url":"https://avatars.githubusercontent.com/u/3752466?v=3","gravatar_id":"","url":"https://api.github.com/users/fnothaft","html_url":"https://github.com/fnothaft","followers_url":"https://api.github.com/users/fnothaft/followers","following_url":"https://api.github.com/users/fnothaft/following{/other_user}","gists_url":"https://api.github.com/users/fnothaft/gists{/gist_id}","starred_url":"https://api.github.com/users/fnothaft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnothaft/subscriptions","organizations_url":"https://api.github.com/users/fnothaft/orgs","repos_url":"https://api.github.com/users/fnothaft/repos","events_url":"https://api.github.com/users/fnothaft/events{/privacy}","received_events_url":"https://api.github.com/users/fnothaft/received_events","type":"User","site_admin":false},"repo":{"id":43088389,"name":"toil-scripts","full_name":"fnothaft/toil-scripts","owner":{"login":"fnothaft","id":3752466,"avatar_url":"https://avatars.githubusercontent.com/u/3752466?v=3","gravatar_id":"","url":"https://api.github.com/users/fnothaft","html_url":"https://github.com/fnothaft","followers_url":"https://api.github.com/users/fnothaft/followers","following_url":"https://api.github.com/users/fnothaft/following{/other_user}","gists_url":"https://api.github.com/users/fnothaft/gists{/gist_id}","starred_url":"https://api.github.com/users/fnothaft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnothaft/subscriptions","organizations_url":"https://api.github.com/users/fnothaft/orgs","repos_url":"https://api.github.com/users/fnothaft/repos","events_url":"https://api.github.com/users/fnothaft/events{/privacy}","received_events_url":"https://api.github.com/users/fnothaft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fnothaft/toil-scripts","description":"","fork":true,"url":"https://api.github.com/repos/fnothaft/toil-scripts","forks_url":"https://api.github.com/repos/fnothaft/toil-scripts/forks","keys_url":"https://api.github.com/repos/fnothaft/toil-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fnothaft/toil-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fnothaft/toil-scripts/teams","hooks_url":"https://api.github.com/repos/fnothaft/toil-scripts/hooks","issue_events_url":"https://api.github.com/repos/fnothaft/toil-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/fnothaft/toil-scripts/events","assignees_url":"https://api.github.com/repos/fnothaft/toil-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/fnothaft/toil-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/fnothaft/toil-scripts/tags","blobs_url":"https://api.github.com/repos/fnothaft/toil-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fnothaft/toil-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fnothaft/toil-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/fnothaft/toil-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fnothaft/toil-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/fnothaft/toil-scripts/languages","stargazers_url":"https://api.github.com/repos/fnothaft/toil-scripts/stargazers","contributors_url":"https://api.github.com/repos/fnothaft/toil-scripts/contributors","subscribers_url":"https://api.github.com/repos/fnothaft/toil-scripts/subscribers","subscription_url":"https://api.github.com/repos/fnothaft/toil-scripts/subscription","commits_url":"https://api.github.com/repos/fnothaft/toil-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/fnothaft/toil-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/fnothaft/toil-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/fnothaft/toil-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/fnothaft/toil-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/fnothaft/toil-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fnothaft/toil-scripts/merges","archive_url":"https://api.github.com/repos/fnothaft/toil-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fnothaft/toil-scripts/downloads","issues_url":"https://api.github.com/repos/fnothaft/toil-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/fnothaft/toil-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/fnothaft/toil-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/fnothaft/toil-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fnothaft/toil-scripts/labels{/name}","releases_url":"https://api.github.com/repos/fnothaft/toil-scripts/releases{/id}","created_at":"2015-09-24T19:30:44Z","updated_at":"2015-09-24T19:30:45Z","pushed_at":"2016-01-07T21:11:43Z","git_url":"git://github.com/fnothaft/toil-scripts.git","ssh_url":"git@github.com:fnothaft/toil-scripts.git","clone_url":"https://github.com/fnothaft/toil-scripts.git","svn_url":"https://github.com/fnothaft/toil-scripts","homepage":null,"size":189,"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":"BD2KGenomics:master","ref":"master","sha":"4f35022dec9ac681e661e0db63e04b70a6f32f12","user":{"login":"BD2KGenomics","id":8701293,"avatar_url":"https://avatars.githubusercontent.com/u/8701293?v=3","gravatar_id":"","url":"https://api.github.com/users/BD2KGenomics","html_url":"https://github.com/BD2KGenomics","followers_url":"https://api.github.com/users/BD2KGenomics/followers","following_url":"https://api.github.com/users/BD2KGenomics/following{/other_user}","gists_url":"https://api.github.com/users/BD2KGenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/BD2KGenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BD2KGenomics/subscriptions","organizations_url":"https://api.github.com/users/BD2KGenomics/orgs","repos_url":"https://api.github.com/users/BD2KGenomics/repos","events_url":"https://api.github.com/users/BD2KGenomics/events{/privacy}","received_events_url":"https://api.github.com/users/BD2KGenomics/received_events","type":"Organization","site_admin":false},"repo":{"id":39923176,"name":"toil-scripts","full_name":"BD2KGenomics/toil-scripts","owner":{"login":"BD2KGenomics","id":8701293,"avatar_url":"https://avatars.githubusercontent.com/u/8701293?v=3","gravatar_id":"","url":"https://api.github.com/users/BD2KGenomics","html_url":"https://github.com/BD2KGenomics","followers_url":"https://api.github.com/users/BD2KGenomics/followers","following_url":"https://api.github.com/users/BD2KGenomics/following{/other_user}","gists_url":"https://api.github.com/users/BD2KGenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/BD2KGenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BD2KGenomics/subscriptions","organizations_url":"https://api.github.com/users/BD2KGenomics/orgs","repos_url":"https://api.github.com/users/BD2KGenomics/repos","events_url":"https://api.github.com/users/BD2KGenomics/events{/privacy}","received_events_url":"https://api.github.com/users/BD2KGenomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BD2KGenomics/toil-scripts","description":"A collection of scripts that use Toil to implement genomics pipelines","fork":false,"url":"https://api.github.com/repos/BD2KGenomics/toil-scripts","forks_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/forks","keys_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/teams","hooks_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/hooks","issue_events_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/events","assignees_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/tags","blobs_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/languages","stargazers_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/stargazers","contributors_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/contributors","subscribers_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/subscribers","subscription_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/subscription","commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/merges","archive_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/downloads","issues_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/labels{/name}","releases_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/releases{/id}","created_at":"2015-07-30T00:42:23Z","updated_at":"2015-12-08T08:22:55Z","pushed_at":"2016-01-08T20:48:55Z","git_url":"git://github.com/BD2KGenomics/toil-scripts.git","ssh_url":"git@github.com:BD2KGenomics/toil-scripts.git","clone_url":"https://github.com/BD2KGenomics/toil-scripts.git","svn_url":"https://github.com/BD2KGenomics/toil-scripts","homepage":"","size":232,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":24,"forks":4,"open_issues":24,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/76"},"html":{"href":"https://github.com/BD2KGenomics/toil-scripts/pull/76"},"issue":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/76"},"comments":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/6f0a88e324fa6ea0c201a4b309ee484a7971c5ff"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"commits":2,"additions":0,"deletions":0,"changed_files":42}}