{"action":"reopened","issue":{"url":"https://api.github.com/repos/sys-bio/roadrunner/issues/94","labels_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/94/comments","events_url":"https://api.github.com/repos/sys-bio/roadrunner/issues/94/events","html_url":"https://github.com/sys-bio/roadrunner/issues/94","id":60295458,"number":94,"title":"The method getCC for fluxes appears to be broken","user":{"login":"hsauro","id":1054990,"avatar_url":"https://avatars.githubusercontent.com/u/1054990?v=3","gravatar_id":"","url":"https://api.github.com/users/hsauro","html_url":"https://github.com/hsauro","followers_url":"https://api.github.com/users/hsauro/followers","following_url":"https://api.github.com/users/hsauro/following{/other_user}","gists_url":"https://api.github.com/users/hsauro/gists{/gist_id}","starred_url":"https://api.github.com/users/hsauro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsauro/subscriptions","organizations_url":"https://api.github.com/users/hsauro/orgs","repos_url":"https://api.github.com/users/hsauro/repos","events_url":"https://api.github.com/users/hsauro/events{/privacy}","received_events_url":"https://api.github.com/users/hsauro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sys-bio/roadrunner/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/sys-bio/roadrunner/labels/priority","name":"priority","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"0u812","id":7402146,"avatar_url":"https://avatars.githubusercontent.com/u/7402146?v=3","gravatar_id":"","url":"https://api.github.com/users/0u812","html_url":"https://github.com/0u812","followers_url":"https://api.github.com/users/0u812/followers","following_url":"https://api.github.com/users/0u812/following{/other_user}","gists_url":"https://api.github.com/users/0u812/gists{/gist_id}","starred_url":"https://api.github.com/users/0u812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0u812/subscriptions","organizations_url":"https://api.github.com/users/0u812/orgs","repos_url":"https://api.github.com/users/0u812/repos","events_url":"https://api.github.com/users/0u812/events{/privacy}","received_events_url":"https://api.github.com/users/0u812/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-09T03:56:01Z","updated_at":"2015-06-24T23:47:35Z","closed_at":null,"body":"getCC with respect to fluxes is broken.\r\n\r\nRun the following model and you'll get:\r\n\r\n0.882352941176\r\n [[ 0.294118, 0.705882],\r\n  [ 0.294118, 0.705882]]\r\n\r\nnan\r\nnan\r\nnan\r\nnan\r\n\r\nRun it in Jarnac and you get (Results the same with COPASI):\r\n\r\nx =  0.882353 \r\n            C1         C2 \r\nR1{{    0.2941     0.7059} \r\nR2 {    0.2941     0.7059}}\r\n \r\n 0.294484 \r\n 0.294484 \r\n 0.706035 \r\n 0.706035 \r\nOk\r\n->\r\n\r\n--------------------------------------------------------------------------------------------\r\n\r\nimport tellurium as te\r\nimport roadrunner\r\n\r\nr = te.loada('''\r\n   J1: $Xo -> x; k\\*(k1\\*Xo - k2\\*x);\r\n   J2: x -> $X1; k3\\*x;\r\n   \r\n   Xo = 1;\r\n   k = 1;\r\n   k1 = 0.15;\r\n   k2 = 0.12;\r\n   k3 = 0.05;\r\n''')\r\n\r\nr.steadyState()\r\nprint r.x\r\nprint r.getScaledFluxControlCoefficientMatrix()\r\n\r\nprint r.getCC ('J1', 'k')\r\nprint r.getCC ('J2', 'k')\r\nprint r.getCC ('J1', 'k3')\r\nprint r.getCC ('J2', 'k3')"}}