{"action":"opened","issue":{"url":"https://api.github.com/repos/CRPropa/CRPropa3/issues/26","labels_url":"https://api.github.com/repos/CRPropa/CRPropa3/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/CRPropa/CRPropa3/issues/26/comments","events_url":"https://api.github.com/repos/CRPropa/CRPropa3/issues/26/events","html_url":"https://github.com/CRPropa/CRPropa3/issues/26","id":83411225,"number":26,"title":"Problem with testElectronPairProduction.py","user":{"login":"lukasmerten","id":12250215,"avatar_url":"https://avatars.githubusercontent.com/u/12250215?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasmerten","html_url":"https://github.com/lukasmerten","followers_url":"https://api.github.com/users/lukasmerten/followers","following_url":"https://api.github.com/users/lukasmerten/following{/other_user}","gists_url":"https://api.github.com/users/lukasmerten/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasmerten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasmerten/subscriptions","organizations_url":"https://api.github.com/users/lukasmerten/orgs","repos_url":"https://api.github.com/users/lukasmerten/repos","events_url":"https://api.github.com/users/lukasmerten/events{/privacy}","received_events_url":"https://api.github.com/users/lukasmerten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T09:46:02Z","updated_at":"2015-06-01T09:46:02Z","closed_at":null,"body":"Hello \r\nIt seems as if there is a problem with the file loading in testElectronPairProduction.py\r\nHere is the error output:\r\n\r\nusr@pc:/path/to/CrPropa3/test/python$ python testElectronPairProduction.py \r\nTraceback (most recent call last):\r\n  File \"testElectronPairProduction.py\", line 39, in <module>\r\n    compare(getDataPath('pair_rate_CMB.txt'), CMB, 'ElectronPairProduction_CMB.png')\r\n  File \"testElectronPairProduction.py\", line 9, in compare\r\n    A = genfromtxt(dataFileName, comments=\"#\", unpack=True)\r\n  File \"/[...]/anaconda/lib/python2.7/site-packages/numpy/lib/npyio.py\", line 1364, in genfromtxt\r\n    fhd = iter(np.lib._datasource.open(fname, 'rbU'))\r\n  File \"/[...]/anaconda/lib/python2.7/site-packages/numpy/lib/_datasource.py\", line 151, in open\r\n    return ds.open(path, mode)\r\n  File \"/[...]/anaconda/lib/python2.7/site-packages/numpy/lib/_datasource.py\", line 501, in open\r\n    raise IOError(\"%s not found.\" % path)\r\nIOError: /[...]/CrPropa3/share/crpropa/pair_rate_CMB.txt not found.\r\n\r\nBest regards, Lukas"}}