{"action":"created","comment":{"url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/comments/176004483","pull_request_review_id":105628603,"id":176004483,"diff_hunk":"@@ -0,0 +1,79 @@\n+function newmodel = addMultipleMetabolites(model,metIDs,varargin)\n+%Add a batch of metabolites to the model.\n+% USAGE:\n+%\n+%    model = addMultipleMetabolites(model,metIDs,varargin)\n+%\n+% INPUTS:\n+%    model:     The model to add the Metabolite batch to.\n+%    metIDs:    The metabolite IDs to add\n+%    varargin:  fieldName, Value pairs. the given fields will be set","path":"src/reconstruction/refinement/addMultipleMetabolites.m","position":10,"original_position":10,"commit_id":"52e1570b546bc63a8f6a0c0058dba52686b33cd3","original_commit_id":"52e1570b546bc63a8f6a0c0058dba52686b33cd3","user":{"login":"laurentheirendt","id":20812112,"avatar_url":"https://avatars0.githubusercontent.com/u/20812112?v=4","gravatar_id":"","url":"https://api.github.com/users/laurentheirendt","html_url":"https://github.com/laurentheirendt","followers_url":"https://api.github.com/users/laurentheirendt/followers","following_url":"https://api.github.com/users/laurentheirendt/following{/other_user}","gists_url":"https://api.github.com/users/laurentheirendt/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentheirendt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentheirendt/subscriptions","organizations_url":"https://api.github.com/users/laurentheirendt/orgs","repos_url":"https://api.github.com/users/laurentheirendt/repos","events_url":"https://api.github.com/users/laurentheirendt/events{/privacy}","received_events_url":"https://api.github.com/users/laurentheirendt/received_events","type":"User","site_admin":false},"body":"This should be `OPTIONAL INPUT`. Also, may you give a list of parameters?","created_at":"2018-03-21T08:12:08Z","updated_at":"2018-03-21T08:14:27Z","html_url":"https://github.com/opencobra/cobratoolbox/pull/1137#discussion_r176004483","pull_request_url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/comments/176004483"},"html":{"href":"https://github.com/opencobra/cobratoolbox/pull/1137#discussion_r176004483"},"pull_request":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137"}}},"pull_request":{"url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137","id":175832809,"html_url":"https://github.com/opencobra/cobratoolbox/pull/1137","diff_url":"https://github.com/opencobra/cobratoolbox/pull/1137.diff","patch_url":"https://github.com/opencobra/cobratoolbox/pull/1137.patch","issue_url":"https://api.github.com/repos/opencobra/cobratoolbox/issues/1137","number":1137,"state":"open","locked":false,"title":"Batch add new","user":{"login":"tpfau","id":9972778,"avatar_url":"https://avatars3.githubusercontent.com/u/9972778?v=4","gravatar_id":"","url":"https://api.github.com/users/tpfau","html_url":"https://github.com/tpfau","followers_url":"https://api.github.com/users/tpfau/followers","following_url":"https://api.github.com/users/tpfau/following{/other_user}","gists_url":"https://api.github.com/users/tpfau/gists{/gist_id}","starred_url":"https://api.github.com/users/tpfau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpfau/subscriptions","organizations_url":"https://api.github.com/users/tpfau/orgs","repos_url":"https://api.github.com/users/tpfau/repos","events_url":"https://api.github.com/users/tpfau/events{/privacy}","received_events_url":"https://api.github.com/users/tpfau/received_events","type":"User","site_admin":false},"body":"Added batch addition of Reactions and metabolites.\r\naddMetabolites now calls the batch addition, i.e. only one file to maintain.\r\nBatch addition of reactions will NOT check the reactions for duplication (except for IDs). \r\n\r\n**I hereby confirm that I have:**\r\n\r\n- [X] Tested my code on my own machine\r\n- [X] Followed the guidelines in the [Contributing Guide](https://opencobra.github.io/cobratoolbox/docs/contributing.html)\r\n- [X] Selected `develop` as a target branch (top left drop-down menu)\r\n\r\n*(Note: You may replace [] with [X] to check the box)*\r\n","created_at":"2018-03-19T08:35:54Z","updated_at":"2018-03-21T08:14:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f5cccc39259211f148801944c771e0755fdbf06","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":554296846,"url":"https://api.github.com/repos/opencobra/cobratoolbox/labels/do%20not%20merge","name":"do not merge","color":"b60205","default":false},{"id":490122044,"url":"https://api.github.com/repos/opencobra/cobratoolbox/labels/needs%20review","name":"needs review","color":"de2080","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137/commits","review_comments_url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137/comments","review_comment_url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencobra/cobratoolbox/issues/1137/comments","statuses_url":"https://api.github.com/repos/opencobra/cobratoolbox/statuses/52e1570b546bc63a8f6a0c0058dba52686b33cd3","head":{"label":"tpfau:batchAddNew","ref":"batchAddNew","sha":"52e1570b546bc63a8f6a0c0058dba52686b33cd3","user":{"login":"tpfau","id":9972778,"avatar_url":"https://avatars3.githubusercontent.com/u/9972778?v=4","gravatar_id":"","url":"https://api.github.com/users/tpfau","html_url":"https://github.com/tpfau","followers_url":"https://api.github.com/users/tpfau/followers","following_url":"https://api.github.com/users/tpfau/following{/other_user}","gists_url":"https://api.github.com/users/tpfau/gists{/gist_id}","starred_url":"https://api.github.com/users/tpfau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpfau/subscriptions","organizations_url":"https://api.github.com/users/tpfau/orgs","repos_url":"https://api.github.com/users/tpfau/repos","events_url":"https://api.github.com/users/tpfau/events{/privacy}","received_events_url":"https://api.github.com/users/tpfau/received_events","type":"User","site_admin":false},"repo":{"id":28035499,"name":"cobratoolbox","full_name":"tpfau/cobratoolbox","owner":{"login":"tpfau","id":9972778,"avatar_url":"https://avatars3.githubusercontent.com/u/9972778?v=4","gravatar_id":"","url":"https://api.github.com/users/tpfau","html_url":"https://github.com/tpfau","followers_url":"https://api.github.com/users/tpfau/followers","following_url":"https://api.github.com/users/tpfau/following{/other_user}","gists_url":"https://api.github.com/users/tpfau/gists{/gist_id}","starred_url":"https://api.github.com/users/tpfau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpfau/subscriptions","organizations_url":"https://api.github.com/users/tpfau/orgs","repos_url":"https://api.github.com/users/tpfau/repos","events_url":"https://api.github.com/users/tpfau/events{/privacy}","received_events_url":"https://api.github.com/users/tpfau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tpfau/cobratoolbox","description":"COnstraints Based Reconstruction and Analysis toolbox for MATLAB","fork":true,"url":"https://api.github.com/repos/tpfau/cobratoolbox","forks_url":"https://api.github.com/repos/tpfau/cobratoolbox/forks","keys_url":"https://api.github.com/repos/tpfau/cobratoolbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tpfau/cobratoolbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tpfau/cobratoolbox/teams","hooks_url":"https://api.github.com/repos/tpfau/cobratoolbox/hooks","issue_events_url":"https://api.github.com/repos/tpfau/cobratoolbox/issues/events{/number}","events_url":"https://api.github.com/repos/tpfau/cobratoolbox/events","assignees_url":"https://api.github.com/repos/tpfau/cobratoolbox/assignees{/user}","branches_url":"https://api.github.com/repos/tpfau/cobratoolbox/branches{/branch}","tags_url":"https://api.github.com/repos/tpfau/cobratoolbox/tags","blobs_url":"https://api.github.com/repos/tpfau/cobratoolbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tpfau/cobratoolbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tpfau/cobratoolbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/tpfau/cobratoolbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tpfau/cobratoolbox/statuses/{sha}","languages_url":"https://api.github.com/repos/tpfau/cobratoolbox/languages","stargazers_url":"https://api.github.com/repos/tpfau/cobratoolbox/stargazers","contributors_url":"https://api.github.com/repos/tpfau/cobratoolbox/contributors","subscribers_url":"https://api.github.com/repos/tpfau/cobratoolbox/subscribers","subscription_url":"https://api.github.com/repos/tpfau/cobratoolbox/subscription","commits_url":"https://api.github.com/repos/tpfau/cobratoolbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/tpfau/cobratoolbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/tpfau/cobratoolbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/tpfau/cobratoolbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/tpfau/cobratoolbox/contents/{+path}","compare_url":"https://api.github.com/repos/tpfau/cobratoolbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tpfau/cobratoolbox/merges","archive_url":"https://api.github.com/repos/tpfau/cobratoolbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tpfau/cobratoolbox/downloads","issues_url":"https://api.github.com/repos/tpfau/cobratoolbox/issues{/number}","pulls_url":"https://api.github.com/repos/tpfau/cobratoolbox/pulls{/number}","milestones_url":"https://api.github.com/repos/tpfau/cobratoolbox/milestones{/number}","notifications_url":"https://api.github.com/repos/tpfau/cobratoolbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tpfau/cobratoolbox/labels{/name}","releases_url":"https://api.github.com/repos/tpfau/cobratoolbox/releases{/id}","deployments_url":"https://api.github.com/repos/tpfau/cobratoolbox/deployments","created_at":"2014-12-15T12:21:43Z","updated_at":"2018-03-19T06:30:39Z","pushed_at":"2018-03-21T07:59:53Z","git_url":"git://github.com/tpfau/cobratoolbox.git","ssh_url":"git@github.com:tpfau/cobratoolbox.git","clone_url":"https://github.com/tpfau/cobratoolbox.git","svn_url":"https://github.com/tpfau/cobratoolbox","homepage":"","size":658759,"stargazers_count":0,"watchers_count":0,"language":"Matlab","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":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"opencobra:develop","ref":"develop","sha":"f0dad1ff61904dc2836243b789aa2e638adce172","user":{"login":"opencobra","id":2708410,"avatar_url":"https://avatars0.githubusercontent.com/u/2708410?v=4","gravatar_id":"","url":"https://api.github.com/users/opencobra","html_url":"https://github.com/opencobra","followers_url":"https://api.github.com/users/opencobra/followers","following_url":"https://api.github.com/users/opencobra/following{/other_user}","gists_url":"https://api.github.com/users/opencobra/gists{/gist_id}","starred_url":"https://api.github.com/users/opencobra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencobra/subscriptions","organizations_url":"https://api.github.com/users/opencobra/orgs","repos_url":"https://api.github.com/users/opencobra/repos","events_url":"https://api.github.com/users/opencobra/events{/privacy}","received_events_url":"https://api.github.com/users/opencobra/received_events","type":"Organization","site_admin":false},"repo":{"id":6512296,"name":"cobratoolbox","full_name":"opencobra/cobratoolbox","owner":{"login":"opencobra","id":2708410,"avatar_url":"https://avatars0.githubusercontent.com/u/2708410?v=4","gravatar_id":"","url":"https://api.github.com/users/opencobra","html_url":"https://github.com/opencobra","followers_url":"https://api.github.com/users/opencobra/followers","following_url":"https://api.github.com/users/opencobra/following{/other_user}","gists_url":"https://api.github.com/users/opencobra/gists{/gist_id}","starred_url":"https://api.github.com/users/opencobra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencobra/subscriptions","organizations_url":"https://api.github.com/users/opencobra/orgs","repos_url":"https://api.github.com/users/opencobra/repos","events_url":"https://api.github.com/users/opencobra/events{/privacy}","received_events_url":"https://api.github.com/users/opencobra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencobra/cobratoolbox","description":"The COnstraint-Based Reconstruction and Analysis Toolbox","fork":false,"url":"https://api.github.com/repos/opencobra/cobratoolbox","forks_url":"https://api.github.com/repos/opencobra/cobratoolbox/forks","keys_url":"https://api.github.com/repos/opencobra/cobratoolbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencobra/cobratoolbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencobra/cobratoolbox/teams","hooks_url":"https://api.github.com/repos/opencobra/cobratoolbox/hooks","issue_events_url":"https://api.github.com/repos/opencobra/cobratoolbox/issues/events{/number}","events_url":"https://api.github.com/repos/opencobra/cobratoolbox/events","assignees_url":"https://api.github.com/repos/opencobra/cobratoolbox/assignees{/user}","branches_url":"https://api.github.com/repos/opencobra/cobratoolbox/branches{/branch}","tags_url":"https://api.github.com/repos/opencobra/cobratoolbox/tags","blobs_url":"https://api.github.com/repos/opencobra/cobratoolbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencobra/cobratoolbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencobra/cobratoolbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencobra/cobratoolbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencobra/cobratoolbox/statuses/{sha}","languages_url":"https://api.github.com/repos/opencobra/cobratoolbox/languages","stargazers_url":"https://api.github.com/repos/opencobra/cobratoolbox/stargazers","contributors_url":"https://api.github.com/repos/opencobra/cobratoolbox/contributors","subscribers_url":"https://api.github.com/repos/opencobra/cobratoolbox/subscribers","subscription_url":"https://api.github.com/repos/opencobra/cobratoolbox/subscription","commits_url":"https://api.github.com/repos/opencobra/cobratoolbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencobra/cobratoolbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencobra/cobratoolbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencobra/cobratoolbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencobra/cobratoolbox/contents/{+path}","compare_url":"https://api.github.com/repos/opencobra/cobratoolbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencobra/cobratoolbox/merges","archive_url":"https://api.github.com/repos/opencobra/cobratoolbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencobra/cobratoolbox/downloads","issues_url":"https://api.github.com/repos/opencobra/cobratoolbox/issues{/number}","pulls_url":"https://api.github.com/repos/opencobra/cobratoolbox/pulls{/number}","milestones_url":"https://api.github.com/repos/opencobra/cobratoolbox/milestones{/number}","notifications_url":"https://api.github.com/repos/opencobra/cobratoolbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencobra/cobratoolbox/labels{/name}","releases_url":"https://api.github.com/repos/opencobra/cobratoolbox/releases{/id}","deployments_url":"https://api.github.com/repos/opencobra/cobratoolbox/deployments","created_at":"2012-11-02T20:38:05Z","updated_at":"2018-03-21T07:28:40Z","pushed_at":"2018-03-21T07:54:53Z","git_url":"git://github.com/opencobra/cobratoolbox.git","ssh_url":"git@github.com:opencobra/cobratoolbox.git","clone_url":"https://github.com/opencobra/cobratoolbox.git","svn_url":"https://github.com/opencobra/cobratoolbox","homepage":"https://opencobra.github.io/cobratoolbox","size":722288,"stargazers_count":87,"watchers_count":87,"language":"Matlab","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":162,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":162,"open_issues":17,"watchers":87,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137"},"html":{"href":"https://github.com/opencobra/cobratoolbox/pull/1137"},"issue":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/issues/1137"},"comments":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/issues/1137/comments"},"review_comments":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137/comments"},"review_comment":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/pulls/1137/commits"},"statuses":{"href":"https://api.github.com/repos/opencobra/cobratoolbox/statuses/52e1570b546bc63a8f6a0c0058dba52686b33cd3"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"laurentheirendt"}}