{"action":"created","comment":{"url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/comments/212997088","pull_request_review_id":149737884,"id":212997088,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjk5NzA4OA==","diff_hunk":"@@ -22,22 +22,83 @@ template is the 'metal_production' subdirectory in beast/examples.\n \n In this location, at a minimum you will need the following files:\n \n-  * datamodel.py\n   * run_beast_production.py: a \"production\" version of run_beast.py\n         - Provides commandline options for sub region files\n+  * beast_production_wrapper.py: assembles the commands below into a script\n+  * datamodel_template.py: a \"production\" version of datamodel.py that\n+    will have name/filter fields automatically filled in by beast_production_wrapper\n   * symbolic link to the beast directory in the beast repository\n \n   .. code:: shell\n \n      $ ln -s /location/beast/beast/ beast\n \n-Datamodel.py\n-============\n+\n+\n+Datamodel_template.py\n+===============","path":"docs/workflow.rst","position":21,"original_position":21,"commit_id":"65ab419141740cdbea2971e1c7d9a6b0de029ebd","original_commit_id":"65ab419141740cdbea2971e1c7d9a6b0de029ebd","user":{"login":"karllark","id":1554536,"node_id":"MDQ6VXNlcjE1NTQ1MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1554536?v=4","gravatar_id":"","url":"https://api.github.com/users/karllark","html_url":"https://github.com/karllark","followers_url":"https://api.github.com/users/karllark/followers","following_url":"https://api.github.com/users/karllark/following{/other_user}","gists_url":"https://api.github.com/users/karllark/gists{/gist_id}","starred_url":"https://api.github.com/users/karllark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karllark/subscriptions","organizations_url":"https://api.github.com/users/karllark/orgs","repos_url":"https://api.github.com/users/karllark/repos","events_url":"https://api.github.com/users/karllark/events{/privacy}","received_events_url":"https://api.github.com/users/karllark/received_events","type":"User","site_admin":false},"body":"This one of the lines that is giving a warning.  The '===' have to have the same number of characters as the label above it. ","created_at":"2018-08-27T14:32:04Z","updated_at":"2018-08-27T14:32:05Z","html_url":"https://github.com/BEAST-Fitting/beast/pull/239#discussion_r212997088","pull_request_url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/comments/212997088"},"html":{"href":"https://github.com/BEAST-Fitting/beast/pull/239#discussion_r212997088"},"pull_request":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239"}}},"pull_request":{"url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239","id":209832492,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5ODMyNDky","html_url":"https://github.com/BEAST-Fitting/beast/pull/239","diff_url":"https://github.com/BEAST-Fitting/beast/pull/239.diff","patch_url":"https://github.com/BEAST-Fitting/beast/pull/239.patch","issue_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/239","number":239,"state":"open","locked":false,"title":"updates to production example","user":{"login":"lea-hagen","id":32465297,"node_id":"MDQ6VXNlcjMyNDY1Mjk3","avatar_url":"https://avatars0.githubusercontent.com/u/32465297?v=4","gravatar_id":"","url":"https://api.github.com/users/lea-hagen","html_url":"https://github.com/lea-hagen","followers_url":"https://api.github.com/users/lea-hagen/followers","following_url":"https://api.github.com/users/lea-hagen/following{/other_user}","gists_url":"https://api.github.com/users/lea-hagen/gists{/gist_id}","starred_url":"https://api.github.com/users/lea-hagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lea-hagen/subscriptions","organizations_url":"https://api.github.com/users/lea-hagen/orgs","repos_url":"https://api.github.com/users/lea-hagen/repos","events_url":"https://api.github.com/users/lea-hagen/events{/privacy}","received_events_url":"https://api.github.com/users/lea-hagen/received_events","type":"User","site_admin":false},"body":"This makes several changes for the production run example.  The most significant is making an uber-wrapper for the production run (`beast_production_wrapper.py`), which does basically everything in the [standard workflow](http://beast.readthedocs.io/en/latest/workflow.html#). It also uses a datamodel template to automatically fill in the filters and file names (the user does the rest before running), to account for the case where there are many fields with different names and filter combinations.  I re-organized a few pieces of code (`run_beast_production`, `reorder_beast_results_spatial`, `condense_beast_results_spatial`) to be callable as functions, though basically all of their code is the same.  In addition, `setup_batch_beast_fit` now returns a dictionary with information about which fields need running, so that `beast_production_wrapper` knows whether to move along with the workflow or wait until the fitting is complete.","created_at":"2018-08-21T13:48:59Z","updated_at":"2018-08-27T14:32:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a34e765909a7cf7e7b0c05d4a85f7d59cee97c2c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239/commits","review_comments_url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239/comments","review_comment_url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/239/comments","statuses_url":"https://api.github.com/repos/BEAST-Fitting/beast/statuses/65ab419141740cdbea2971e1c7d9a6b0de029ebd","head":{"label":"lea-hagen:multifield_2","ref":"multifield_2","sha":"65ab419141740cdbea2971e1c7d9a6b0de029ebd","user":{"login":"lea-hagen","id":32465297,"node_id":"MDQ6VXNlcjMyNDY1Mjk3","avatar_url":"https://avatars0.githubusercontent.com/u/32465297?v=4","gravatar_id":"","url":"https://api.github.com/users/lea-hagen","html_url":"https://github.com/lea-hagen","followers_url":"https://api.github.com/users/lea-hagen/followers","following_url":"https://api.github.com/users/lea-hagen/following{/other_user}","gists_url":"https://api.github.com/users/lea-hagen/gists{/gist_id}","starred_url":"https://api.github.com/users/lea-hagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lea-hagen/subscriptions","organizations_url":"https://api.github.com/users/lea-hagen/orgs","repos_url":"https://api.github.com/users/lea-hagen/repos","events_url":"https://api.github.com/users/lea-hagen/events{/privacy}","received_events_url":"https://api.github.com/users/lea-hagen/received_events","type":"User","site_admin":false},"repo":{"id":105923423,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU5MjM0MjM=","name":"beast","full_name":"lea-hagen/beast","owner":{"login":"lea-hagen","id":32465297,"node_id":"MDQ6VXNlcjMyNDY1Mjk3","avatar_url":"https://avatars0.githubusercontent.com/u/32465297?v=4","gravatar_id":"","url":"https://api.github.com/users/lea-hagen","html_url":"https://github.com/lea-hagen","followers_url":"https://api.github.com/users/lea-hagen/followers","following_url":"https://api.github.com/users/lea-hagen/following{/other_user}","gists_url":"https://api.github.com/users/lea-hagen/gists{/gist_id}","starred_url":"https://api.github.com/users/lea-hagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lea-hagen/subscriptions","organizations_url":"https://api.github.com/users/lea-hagen/orgs","repos_url":"https://api.github.com/users/lea-hagen/repos","events_url":"https://api.github.com/users/lea-hagen/events{/privacy}","received_events_url":"https://api.github.com/users/lea-hagen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lea-hagen/beast","description":"Bayesian Extinction and Stellar Tool","fork":true,"url":"https://api.github.com/repos/lea-hagen/beast","forks_url":"https://api.github.com/repos/lea-hagen/beast/forks","keys_url":"https://api.github.com/repos/lea-hagen/beast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lea-hagen/beast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lea-hagen/beast/teams","hooks_url":"https://api.github.com/repos/lea-hagen/beast/hooks","issue_events_url":"https://api.github.com/repos/lea-hagen/beast/issues/events{/number}","events_url":"https://api.github.com/repos/lea-hagen/beast/events","assignees_url":"https://api.github.com/repos/lea-hagen/beast/assignees{/user}","branches_url":"https://api.github.com/repos/lea-hagen/beast/branches{/branch}","tags_url":"https://api.github.com/repos/lea-hagen/beast/tags","blobs_url":"https://api.github.com/repos/lea-hagen/beast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lea-hagen/beast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lea-hagen/beast/git/refs{/sha}","trees_url":"https://api.github.com/repos/lea-hagen/beast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lea-hagen/beast/statuses/{sha}","languages_url":"https://api.github.com/repos/lea-hagen/beast/languages","stargazers_url":"https://api.github.com/repos/lea-hagen/beast/stargazers","contributors_url":"https://api.github.com/repos/lea-hagen/beast/contributors","subscribers_url":"https://api.github.com/repos/lea-hagen/beast/subscribers","subscription_url":"https://api.github.com/repos/lea-hagen/beast/subscription","commits_url":"https://api.github.com/repos/lea-hagen/beast/commits{/sha}","git_commits_url":"https://api.github.com/repos/lea-hagen/beast/git/commits{/sha}","comments_url":"https://api.github.com/repos/lea-hagen/beast/comments{/number}","issue_comment_url":"https://api.github.com/repos/lea-hagen/beast/issues/comments{/number}","contents_url":"https://api.github.com/repos/lea-hagen/beast/contents/{+path}","compare_url":"https://api.github.com/repos/lea-hagen/beast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lea-hagen/beast/merges","archive_url":"https://api.github.com/repos/lea-hagen/beast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lea-hagen/beast/downloads","issues_url":"https://api.github.com/repos/lea-hagen/beast/issues{/number}","pulls_url":"https://api.github.com/repos/lea-hagen/beast/pulls{/number}","milestones_url":"https://api.github.com/repos/lea-hagen/beast/milestones{/number}","notifications_url":"https://api.github.com/repos/lea-hagen/beast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lea-hagen/beast/labels{/name}","releases_url":"https://api.github.com/repos/lea-hagen/beast/releases{/id}","deployments_url":"https://api.github.com/repos/lea-hagen/beast/deployments","created_at":"2017-10-05T18:08:04Z","updated_at":"2018-08-20T20:28:32Z","pushed_at":"2018-08-23T21:15:22Z","git_url":"git://github.com/lea-hagen/beast.git","ssh_url":"git@github.com:lea-hagen/beast.git","clone_url":"https://github.com/lea-hagen/beast.git","svn_url":"https://github.com/lea-hagen/beast","homepage":null,"size":3011,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BEAST-Fitting:master","ref":"master","sha":"a12159a0d4b1db7ecfddf1619567ee26bba21a7f","user":{"login":"BEAST-Fitting","id":2017911,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTc5MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2017911?v=4","gravatar_id":"","url":"https://api.github.com/users/BEAST-Fitting","html_url":"https://github.com/BEAST-Fitting","followers_url":"https://api.github.com/users/BEAST-Fitting/followers","following_url":"https://api.github.com/users/BEAST-Fitting/following{/other_user}","gists_url":"https://api.github.com/users/BEAST-Fitting/gists{/gist_id}","starred_url":"https://api.github.com/users/BEAST-Fitting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BEAST-Fitting/subscriptions","organizations_url":"https://api.github.com/users/BEAST-Fitting/orgs","repos_url":"https://api.github.com/users/BEAST-Fitting/repos","events_url":"https://api.github.com/users/BEAST-Fitting/events{/privacy}","received_events_url":"https://api.github.com/users/BEAST-Fitting/received_events","type":"Organization","site_admin":false},"repo":{"id":66873656,"node_id":"MDEwOlJlcG9zaXRvcnk2Njg3MzY1Ng==","name":"beast","full_name":"BEAST-Fitting/beast","owner":{"login":"BEAST-Fitting","id":2017911,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTc5MTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2017911?v=4","gravatar_id":"","url":"https://api.github.com/users/BEAST-Fitting","html_url":"https://github.com/BEAST-Fitting","followers_url":"https://api.github.com/users/BEAST-Fitting/followers","following_url":"https://api.github.com/users/BEAST-Fitting/following{/other_user}","gists_url":"https://api.github.com/users/BEAST-Fitting/gists{/gist_id}","starred_url":"https://api.github.com/users/BEAST-Fitting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BEAST-Fitting/subscriptions","organizations_url":"https://api.github.com/users/BEAST-Fitting/orgs","repos_url":"https://api.github.com/users/BEAST-Fitting/repos","events_url":"https://api.github.com/users/BEAST-Fitting/events{/privacy}","received_events_url":"https://api.github.com/users/BEAST-Fitting/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BEAST-Fitting/beast","description":"Bayesian Extinction and Stellar Tool","fork":false,"url":"https://api.github.com/repos/BEAST-Fitting/beast","forks_url":"https://api.github.com/repos/BEAST-Fitting/beast/forks","keys_url":"https://api.github.com/repos/BEAST-Fitting/beast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BEAST-Fitting/beast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BEAST-Fitting/beast/teams","hooks_url":"https://api.github.com/repos/BEAST-Fitting/beast/hooks","issue_events_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/events{/number}","events_url":"https://api.github.com/repos/BEAST-Fitting/beast/events","assignees_url":"https://api.github.com/repos/BEAST-Fitting/beast/assignees{/user}","branches_url":"https://api.github.com/repos/BEAST-Fitting/beast/branches{/branch}","tags_url":"https://api.github.com/repos/BEAST-Fitting/beast/tags","blobs_url":"https://api.github.com/repos/BEAST-Fitting/beast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BEAST-Fitting/beast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BEAST-Fitting/beast/git/refs{/sha}","trees_url":"https://api.github.com/repos/BEAST-Fitting/beast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BEAST-Fitting/beast/statuses/{sha}","languages_url":"https://api.github.com/repos/BEAST-Fitting/beast/languages","stargazers_url":"https://api.github.com/repos/BEAST-Fitting/beast/stargazers","contributors_url":"https://api.github.com/repos/BEAST-Fitting/beast/contributors","subscribers_url":"https://api.github.com/repos/BEAST-Fitting/beast/subscribers","subscription_url":"https://api.github.com/repos/BEAST-Fitting/beast/subscription","commits_url":"https://api.github.com/repos/BEAST-Fitting/beast/commits{/sha}","git_commits_url":"https://api.github.com/repos/BEAST-Fitting/beast/git/commits{/sha}","comments_url":"https://api.github.com/repos/BEAST-Fitting/beast/comments{/number}","issue_comment_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/comments{/number}","contents_url":"https://api.github.com/repos/BEAST-Fitting/beast/contents/{+path}","compare_url":"https://api.github.com/repos/BEAST-Fitting/beast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BEAST-Fitting/beast/merges","archive_url":"https://api.github.com/repos/BEAST-Fitting/beast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BEAST-Fitting/beast/downloads","issues_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues{/number}","pulls_url":"https://api.github.com/repos/BEAST-Fitting/beast/pulls{/number}","milestones_url":"https://api.github.com/repos/BEAST-Fitting/beast/milestones{/number}","notifications_url":"https://api.github.com/repos/BEAST-Fitting/beast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BEAST-Fitting/beast/labels{/name}","releases_url":"https://api.github.com/repos/BEAST-Fitting/beast/releases{/id}","deployments_url":"https://api.github.com/repos/BEAST-Fitting/beast/deployments","created_at":"2016-08-29T19:22:43Z","updated_at":"2018-08-27T14:18:24Z","pushed_at":"2018-08-27T14:18:22Z","git_url":"git://github.com/BEAST-Fitting/beast.git","ssh_url":"git@github.com:BEAST-Fitting/beast.git","clone_url":"https://github.com/BEAST-Fitting/beast.git","svn_url":"https://github.com/BEAST-Fitting/beast","homepage":"http://beast.readthedocs.io","size":2989,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":62,"license":null,"forks":18,"open_issues":62,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239"},"html":{"href":"https://github.com/BEAST-Fitting/beast/pull/239"},"issue":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/issues/239"},"comments":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/BEAST-Fitting/beast/statuses/65ab419141740cdbea2971e1c7d9a6b0de029ebd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"karllark"}}