{"action":"created","issue":{"url":"https://api.github.com/repos/tritemio/FRETBursts/issues/32","labels_url":"https://api.github.com/repos/tritemio/FRETBursts/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/tritemio/FRETBursts/issues/32/comments","events_url":"https://api.github.com/repos/tritemio/FRETBursts/issues/32/events","html_url":"https://github.com/tritemio/FRETBursts/issues/32","id":119841729,"number":32,"title":"Error on burstsearch when the leakage value is not specified","user":{"login":"chungjjang80","id":7528148,"avatar_url":"https://avatars.githubusercontent.com/u/7528148?v=3","gravatar_id":"","url":"https://api.github.com/users/chungjjang80","html_url":"https://github.com/chungjjang80","followers_url":"https://api.github.com/users/chungjjang80/followers","following_url":"https://api.github.com/users/chungjjang80/following{/other_user}","gists_url":"https://api.github.com/users/chungjjang80/gists{/gist_id}","starred_url":"https://api.github.com/users/chungjjang80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chungjjang80/subscriptions","organizations_url":"https://api.github.com/users/chungjjang80/orgs","repos_url":"https://api.github.com/users/chungjjang80/repos","events_url":"https://api.github.com/users/chungjjang80/events{/privacy}","received_events_url":"https://api.github.com/users/chungjjang80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T00:42:37Z","updated_at":"2015-12-02T01:44:19Z","closed_at":null,"body":"Without the specification on Lk, Burstsearch is not working and I have got the message below...\r\n(It was running on Python 3.5 version.)\r\n\r\n```\r\nC:\\Users\\SangYoon\\Anaconda3\\lib\\site-packages\\fretbursts\\burstlib.py in get_leakage_array(self)\r\n   2275         leakage = self.leakage\r\n   2276         Lk = np.r_[[leakage]*self.nch] if np.size(leakage) == 1 else leakage\r\n-> 2277         Lk *= self.chi_ch\r\n   2278         return Lk\r\n   2279 \r\n\r\nTypeError: Cannot cast ufunc multiply output from dtype('float64') to dtype('int32') with casting rule 'same_kind'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tritemio/FRETBursts/issues/comments/161152843","html_url":"https://github.com/tritemio/FRETBursts/issues/32#issuecomment-161152843","issue_url":"https://api.github.com/repos/tritemio/FRETBursts/issues/32","id":161152843,"user":{"login":"tritemio","id":4156237,"avatar_url":"https://avatars.githubusercontent.com/u/4156237?v=3","gravatar_id":"","url":"https://api.github.com/users/tritemio","html_url":"https://github.com/tritemio","followers_url":"https://api.github.com/users/tritemio/followers","following_url":"https://api.github.com/users/tritemio/following{/other_user}","gists_url":"https://api.github.com/users/tritemio/gists{/gist_id}","starred_url":"https://api.github.com/users/tritemio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tritemio/subscriptions","organizations_url":"https://api.github.com/users/tritemio/orgs","repos_url":"https://api.github.com/users/tritemio/repos","events_url":"https://api.github.com/users/tritemio/events{/privacy}","received_events_url":"https://api.github.com/users/tritemio/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T01:44:19Z","updated_at":"2015-12-02T01:44:19Z","body":"As a workaround, adding:\r\n\r\n```\r\nd.leakage = 0.\r\n```\r\n\r\nbefore running the burst search avoids the error."}}