{"action":"opened","issue":{"url":"https://api.github.com/repos/igmhub/picca/issues/388","repository_url":"https://api.github.com/repos/igmhub/picca","labels_url":"https://api.github.com/repos/igmhub/picca/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/igmhub/picca/issues/388/comments","events_url":"https://api.github.com/repos/igmhub/picca/issues/388/events","html_url":"https://github.com/igmhub/picca/issues/388","id":309960845,"number":388,"title":"Problem with new raeding of desi mocks","user":{"login":"Cyeche","id":22040400,"avatar_url":"https://avatars1.githubusercontent.com/u/22040400?v=4","gravatar_id":"","url":"https://api.github.com/users/Cyeche","html_url":"https://github.com/Cyeche","followers_url":"https://api.github.com/users/Cyeche/followers","following_url":"https://api.github.com/users/Cyeche/following{/other_user}","gists_url":"https://api.github.com/users/Cyeche/gists{/gist_id}","starred_url":"https://api.github.com/users/Cyeche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cyeche/subscriptions","organizations_url":"https://api.github.com/users/Cyeche/orgs","repos_url":"https://api.github.com/users/Cyeche/repos","events_url":"https://api.github.com/users/Cyeche/events{/privacy}","received_events_url":"https://api.github.com/users/Cyeche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-30T02:48:30Z","updated_at":"2018-03-30T02:48:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"With the new strategy for nside in the reading of desi mocks, the code breaks  (I'm using python2)\r\n\r\nFound 776 qsos\r\nTraceback (most recent call last):\r\n  File \"bin/do_deltas.py\", line 192, in <module>\r\n    best_obs=args.best_obs, single_exp=args.single_exp, pk1d=args.delta_format )\r\n  File \"/Users/yeche/Develop/Pk1D/picca/py/picca/io.py\", line 168, in read_data\r\n    data = read_from_desi(nside,in_dir,thid,ra,dec,zqso,plate,mjd,fid,order)\r\n  File \"/Users/yeche/Develop/Pk1D/picca/py/picca/io.py\", line 499, in read_from_desi\r\n    in_nside = int(in_dir.split('spectra-')[-1].replace('/',''))\r\nValueError: invalid literal for int() with base 10: '..Spectra_desi'\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"Cyeche"}}