{"action":"created","issue":{"url":"https://api.github.com/repos/opencobra/cobrapy/issues/324","repository_url":"https://api.github.com/repos/opencobra/cobrapy","labels_url":"https://api.github.com/repos/opencobra/cobrapy/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/opencobra/cobrapy/issues/324/comments","events_url":"https://api.github.com/repos/opencobra/cobrapy/issues/324/events","html_url":"https://github.com/opencobra/cobrapy/pull/324","id":193735116,"number":324,"title":"(wip) Fix/refactor objective coefficient","user":{"login":"hredestig","id":1300566,"avatar_url":"https://avatars.githubusercontent.com/u/1300566?v=3","gravatar_id":"","url":"https://api.github.com/users/hredestig","html_url":"https://github.com/hredestig","followers_url":"https://api.github.com/users/hredestig/followers","following_url":"https://api.github.com/users/hredestig/following{/other_user}","gists_url":"https://api.github.com/users/hredestig/gists{/gist_id}","starred_url":"https://api.github.com/users/hredestig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hredestig/subscriptions","organizations_url":"https://api.github.com/users/hredestig/orgs","repos_url":"https://api.github.com/users/hredestig/repos","events_url":"https://api.github.com/users/hredestig/events{/privacy}","received_events_url":"https://api.github.com/users/hredestig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-06T10:27:38Z","updated_at":"2016-12-06T13:52:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencobra/cobrapy/pulls/324","html_url":"https://github.com/opencobra/cobrapy/pull/324","diff_url":"https://github.com/opencobra/cobrapy/pull/324.diff","patch_url":"https://github.com/opencobra/cobrapy/pull/324.patch"},"body":"reaction.objective_coefficient makes less sense when the objective can\r\nbe made up of more than just reactions and their coefficients. However,\r\nwe still want the option to easily assign the model.objective a set of\r\nreactions and their coefficients.\r\n\r\nThis is an attempt to reduce this inconsistency by moving the property\r\nreaction.objective_coefficient to model.set_reaction_coefficient and\r\nmodel.reaction_coefficient where model._objective_reactions is a set\r\nthat keeps track of the reactions that have been assigned as objectives\r\nand the coefficient being extracted from the solver."},"comment":{"url":"https://api.github.com/repos/opencobra/cobrapy/issues/comments/265154512","html_url":"https://github.com/opencobra/cobrapy/pull/324#issuecomment-265154512","issue_url":"https://api.github.com/repos/opencobra/cobrapy/issues/324","id":265154512,"user":{"login":"cdiener","id":7153935,"avatar_url":"https://avatars.githubusercontent.com/u/7153935?v=3","gravatar_id":"","url":"https://api.github.com/users/cdiener","html_url":"https://github.com/cdiener","followers_url":"https://api.github.com/users/cdiener/followers","following_url":"https://api.github.com/users/cdiener/following{/other_user}","gists_url":"https://api.github.com/users/cdiener/gists{/gist_id}","starred_url":"https://api.github.com/users/cdiener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdiener/subscriptions","organizations_url":"https://api.github.com/users/cdiener/orgs","repos_url":"https://api.github.com/users/cdiener/repos","events_url":"https://api.github.com/users/cdiener/events{/privacy}","received_events_url":"https://api.github.com/users/cdiener/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T13:52:54Z","updated_at":"2016-12-06T13:52:54Z","body":"Since it adds new behavior some tests might be good. "}}
{"actor":{"display_login":"cdiener"}}