{"action":"created","issue":{"url":"https://api.github.com/repos/scidash/neuronunit/issues/158","repository_url":"https://api.github.com/repos/scidash/neuronunit","labels_url":"https://api.github.com/repos/scidash/neuronunit/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/scidash/neuronunit/issues/158/comments","events_url":"https://api.github.com/repos/scidash/neuronunit/issues/158/events","html_url":"https://github.com/scidash/neuronunit/issues/158","id":293354759,"number":158,"title":"get_neab fails because aibs no longer returns all the relevant information.","user":{"login":"russelljjarvis","id":7786645,"avatar_url":"https://avatars2.githubusercontent.com/u/7786645?v=4","gravatar_id":"","url":"https://api.github.com/users/russelljjarvis","html_url":"https://github.com/russelljjarvis","followers_url":"https://api.github.com/users/russelljjarvis/followers","following_url":"https://api.github.com/users/russelljjarvis/following{/other_user}","gists_url":"https://api.github.com/users/russelljjarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/russelljjarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russelljjarvis/subscriptions","organizations_url":"https://api.github.com/users/russelljjarvis/orgs","repos_url":"https://api.github.com/users/russelljjarvis/repos","events_url":"https://api.github.com/users/russelljjarvis/events{/privacy}","received_events_url":"https://api.github.com/users/russelljjarvis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-31T23:51:56Z","updated_at":"2018-02-01T00:19:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Executing the lines:\r\n```python\r\ndataset_id = 354190013  # Internal ID that AIBS uses for a particular Scnn1a-Tg2-Cre\r\n                        # Primary visual area, layer 5 neuron.\r\nobservation = aibs.get_observation(dataset_id,'rheobase')\r\n```\r\nReturns:\r\n```python\r\nGetting Rheobase cached data value for from AIBS dataset 354190013\r\n['value']\r\n130.0 pA\r\n```\r\nHowever something with keys: 'std', and 'sem' is expected instead. Not sure if this has something to do with caching.\r\n```python\r\n~/neuronunit/neuronunit/optimization/get_neab.py in <module>()\r\n     52                         # Primary visual area, layer 5 neuron.\r\n     53 observation = aibs.get_observation(dataset_id,'rheobase')\r\n---> 54 tests += [nu_tests.RheobaseTest(observation=observation)]\r\n     55 import pdb; pdb.set_trace()\r\n     56 \r\n\r\n~/neuronunit/neuronunit/tests/base.py in __init__(self, observation, name, **params)\r\n     26                  **params):\r\n     27 \r\n---> 28         super(VmTest,self).__init__(observation,name,**params)\r\n     29         cap = []\r\n     30         for cls in self.__class__.__bases__:\r\n\r\n/opt/conda/lib/python3.5/site-packages/sciunit/__init__.py in __init__(self, observation, name, **params)\r\n    195 \r\n    196         self.observation = observation\r\n--> 197         self.validate_observation(observation)\r\n    198 \r\n    199         if self.score_type is None or not issubclass(self.score_type, Score):\r\n\r\n~/neuronunit/neuronunit/tests/base.py in validate_observation(self, observation, united_keys, nonunited_keys)\r\n     80                 observation['std'] = observation['sem'] * np.sqrt(observation['n'])\r\n     81             else:\r\n---> 82                 raise sciunit.ObservationError((\"Observation must have an 'std' key \"\r\n     83                                                 \"or both 'sem' and 'n' keys.\"))\r\n     84         return observation\r\n\r\nObservationError: Observation must have an 'std' key or both 'sem' and 'n' keys.\r\n```"},"comment":{"url":"https://api.github.com/repos/scidash/neuronunit/issues/comments/362115648","html_url":"https://github.com/scidash/neuronunit/issues/158#issuecomment-362115648","issue_url":"https://api.github.com/repos/scidash/neuronunit/issues/158","id":362115648,"user":{"login":"russelljjarvis","id":7786645,"avatar_url":"https://avatars2.githubusercontent.com/u/7786645?v=4","gravatar_id":"","url":"https://api.github.com/users/russelljjarvis","html_url":"https://github.com/russelljjarvis","followers_url":"https://api.github.com/users/russelljjarvis/followers","following_url":"https://api.github.com/users/russelljjarvis/following{/other_user}","gists_url":"https://api.github.com/users/russelljjarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/russelljjarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russelljjarvis/subscriptions","organizations_url":"https://api.github.com/users/russelljjarvis/orgs","repos_url":"https://api.github.com/users/russelljjarvis/repos","events_url":"https://api.github.com/users/russelljjarvis/events{/privacy}","received_events_url":"https://api.github.com/users/russelljjarvis/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T00:19:07Z","updated_at":"2018-02-01T00:19:07Z","author_association":"CONTRIBUTOR","body":"Attempting to execute:\r\n\r\nhttps://github.com/rgerkin/IzhikevichModel/blob/master/AIBS.ipynb\r\n\r\nreproduces this error, the top of AIBS.ipynb can be regarded as a more minimal working example. "}}
{"actor":{"display_login":"russelljjarvis"}}