{"action":"opened","issue":{"url":"https://api.github.com/repos/AllenInstitute/AllenSDK/issues/35","repository_url":"https://api.github.com/repos/AllenInstitute/AllenSDK","labels_url":"https://api.github.com/repos/AllenInstitute/AllenSDK/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/AllenInstitute/AllenSDK/issues/35/comments","events_url":"https://api.github.com/repos/AllenInstitute/AllenSDK/issues/35/events","html_url":"https://github.com/AllenInstitute/AllenSDK/issues/35","id":195087229,"number":35,"title":"resolution of ontology masks","user":{"login":"jackwalleninstituteorg","id":24532455,"avatar_url":"https://avatars.githubusercontent.com/u/24532455?v=3","gravatar_id":"","url":"https://api.github.com/users/jackwalleninstituteorg","html_url":"https://github.com/jackwalleninstituteorg","followers_url":"https://api.github.com/users/jackwalleninstituteorg/followers","following_url":"https://api.github.com/users/jackwalleninstituteorg/following{/other_user}","gists_url":"https://api.github.com/users/jackwalleninstituteorg/gists{/gist_id}","starred_url":"https://api.github.com/users/jackwalleninstituteorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackwalleninstituteorg/subscriptions","organizations_url":"https://api.github.com/users/jackwalleninstituteorg/orgs","repos_url":"https://api.github.com/users/jackwalleninstituteorg/repos","events_url":"https://api.github.com/users/jackwalleninstituteorg/events{/privacy}","received_events_url":"https://api.github.com/users/jackwalleninstituteorg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-12T21:13:30Z","updated_at":"2016-12-12T21:13:30Z","closed_at":null,"body":"I've encountered issues with the resolution of masks. Code below. I was expecting the two masks to be arrays of identical dimensions. Not so.\r\n\r\nfrom allensdk.core.mouse_connectivity_cache import MouseConnectivityCache\r\nmcc = MouseConnectivityCache(manifest_file='connectivity/mouse_connectivity_manifest.json', resolution=10)\r\nontology = mcc.get_ontology()\r\n\r\nmask, _ = mcc.get_structure_mask(315)\r\nprint mask.shape\r\n\r\nmask, _ = mcc.get_structure_mask(385)\r\nprint mask.shape\r\n"}}
{"actor":{"display_login":"jackwalleninstituteorg"}}