{"action":"created","issue":{"url":"https://api.github.com/repos/scrm/scrm/issues/102","repository_url":"https://api.github.com/repos/scrm/scrm","labels_url":"https://api.github.com/repos/scrm/scrm/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/scrm/scrm/issues/102/comments","events_url":"https://api.github.com/repos/scrm/scrm/issues/102/events","html_url":"https://github.com/scrm/scrm/issues/102","id":142954527,"number":102,"title":"-eI bug","user":{"login":"jackkamm","id":9089216,"avatar_url":"https://avatars.githubusercontent.com/u/9089216?v=3","gravatar_id":"","url":"https://api.github.com/users/jackkamm","html_url":"https://github.com/jackkamm","followers_url":"https://api.github.com/users/jackkamm/followers","following_url":"https://api.github.com/users/jackkamm/following{/other_user}","gists_url":"https://api.github.com/users/jackkamm/gists{/gist_id}","starred_url":"https://api.github.com/users/jackkamm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackkamm/subscriptions","organizations_url":"https://api.github.com/users/jackkamm/orgs","repos_url":"https://api.github.com/users/jackkamm/repos","events_url":"https://api.github.com/users/jackkamm/events{/privacy}","received_events_url":"https://api.github.com/users/jackkamm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-23T13:07:03Z","updated_at":"2016-03-23T13:46:10Z","closed_at":null,"body":"Consider a demography where population 1 is sampled at 0, population 2 is sampled at t2, and population 1 and 2 join at tJ.\r\n\r\nIf t2 > tJ, scrm can sometimes give an error of non-coalescence.\r\n```\r\nscrm 4 1 -t 1.0 -I 2 2 0 -ej 1.0 1 2 -eI 3.5 0 2\r\n835262454\r\n\r\n//\r\nError: Lines did not coalescence.\r\nThe lines were in populations 2 and 1.\r\nYou should add on opportunity for migration between these populations.\r\n\r\nTry 'scrm --help' for more information.\r\n```\r\nBut sometimes scrm works for the exact same demography with a different seed.\r\n```\r\nscrm 4 1 -t 1.0 -I 2 2 0 -ej 1.0 1 2 -eI 3.5 0 2\r\n403661958\r\n\r\n//\r\nsegsites: 7\r\npositions: 0.0262532 0.065055 0.0799752 0.0866165 0.331099 0.635995 0.890105 \r\n1000000\r\n0111110\r\n0000001\r\n0000000\r\n```"},"comment":{"url":"https://api.github.com/repos/scrm/scrm/issues/comments/200350014","html_url":"https://github.com/scrm/scrm/issues/102#issuecomment-200350014","issue_url":"https://api.github.com/repos/scrm/scrm/issues/102","id":200350014,"user":{"login":"paulstaab","id":2339377,"avatar_url":"https://avatars.githubusercontent.com/u/2339377?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstaab","html_url":"https://github.com/paulstaab","followers_url":"https://api.github.com/users/paulstaab/followers","following_url":"https://api.github.com/users/paulstaab/following{/other_user}","gists_url":"https://api.github.com/users/paulstaab/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstaab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstaab/subscriptions","organizations_url":"https://api.github.com/users/paulstaab/orgs","repos_url":"https://api.github.com/users/paulstaab/repos","events_url":"https://api.github.com/users/paulstaab/events{/privacy}","received_events_url":"https://api.github.com/users/paulstaab/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T13:46:10Z","updated_at":"2016-03-23T13:46:10Z","body":"Thanks for the report, this definitely is a bug in scrm. It fails to calculate the correct coalescence rate if the archaic leaf is further in the past than the MRCA of the two contemporary nodes. If the MRCA is further in the past, everything works correctly."}}