{"action":"created","issue":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/431","labels_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/431/comments","events_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/431/events","html_url":"https://github.com/pgmpy/pgmpy/pull/431","id":89510277,"number":431,"title":"Fixed issue #430 (bug in to_junction_tree() method in MarkovModel)","user":{"login":"abinashpanda","id":2332955,"avatar_url":"https://avatars.githubusercontent.com/u/2332955?v=3","gravatar_id":"","url":"https://api.github.com/users/abinashpanda","html_url":"https://github.com/abinashpanda","followers_url":"https://api.github.com/users/abinashpanda/followers","following_url":"https://api.github.com/users/abinashpanda/following{/other_user}","gists_url":"https://api.github.com/users/abinashpanda/gists{/gist_id}","starred_url":"https://api.github.com/users/abinashpanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinashpanda/subscriptions","organizations_url":"https://api.github.com/users/abinashpanda/orgs","repos_url":"https://api.github.com/users/abinashpanda/repos","events_url":"https://api.github.com/users/abinashpanda/events{/privacy}","received_events_url":"https://api.github.com/users/abinashpanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T08:55:17Z","updated_at":"2015-06-19T08:59:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pgmpy/pgmpy/pulls/431","html_url":"https://github.com/pgmpy/pgmpy/pull/431","diff_url":"https://github.com/pgmpy/pgmpy/pull/431.diff","patch_url":"https://github.com/pgmpy/pgmpy/pull/431.patch"},"body":"* Currently the method implemented to convert a MarkovModel into JunctionTree was\r\n  with an assumption that there would be atleast 2 cliques. It used to do a\r\n  minimum spanning tree method call, which used to fail when there is only a\r\n  single clique.\r\n* Fixed this issue by putting an extra check if there is only one clique, then\r\n  simply create the JunctionTree by adding that clique only."},"comment":{"url":"https://api.github.com/repos/pgmpy/pgmpy/issues/comments/113438273","html_url":"https://github.com/pgmpy/pgmpy/pull/431#issuecomment-113438273","issue_url":"https://api.github.com/repos/pgmpy/pgmpy/issues/431","id":113438273,"user":{"login":"landscape-bot","id":10010231,"avatar_url":"https://avatars.githubusercontent.com/u/10010231?v=3","gravatar_id":"","url":"https://api.github.com/users/landscape-bot","html_url":"https://github.com/landscape-bot","followers_url":"https://api.github.com/users/landscape-bot/followers","following_url":"https://api.github.com/users/landscape-bot/following{/other_user}","gists_url":"https://api.github.com/users/landscape-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/landscape-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landscape-bot/subscriptions","organizations_url":"https://api.github.com/users/landscape-bot/orgs","repos_url":"https://api.github.com/users/landscape-bot/repos","events_url":"https://api.github.com/users/landscape-bot/events{/privacy}","received_events_url":"https://api.github.com/users/landscape-bot/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T08:59:45Z","updated_at":"2015-06-19T08:59:45Z","body":"[![Code Health](https://landscape.io/badge/192351/landscape.svg?style=flat)](https://landscape.io/diff/181243)\nCode quality remained the same when pulling **[832ebbe](https://github.com/abinashpanda/pgmpy/commit/832ebbe3a0941bfbc6e4da2a38ea8216401c5cd2) on abinashpanda:fix-#430** into **[aca1824](https://github.com/pgmpy/pgmpy/commit/aca1824f0d670bc52afe2ba03d81438a26ad079a) on pgmpy:dev**."}}