{"action":"reopened","issue":{"url":"https://api.github.com/repos/losonczylab/sima/issues/99","labels_url":"https://api.github.com/repos/losonczylab/sima/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/losonczylab/sima/issues/99/comments","events_url":"https://api.github.com/repos/losonczylab/sima/issues/99/events","html_url":"https://github.com/losonczylab/sima/issues/99","id":55067630,"number":99,"title":"Conversion of a sliced sequence to a numpy.ndarray ","user":{"login":"ranr01","id":10533928,"avatar_url":"https://avatars.githubusercontent.com/u/10533928?v=3","gravatar_id":"","url":"https://api.github.com/users/ranr01","html_url":"https://github.com/ranr01","followers_url":"https://api.github.com/users/ranr01/followers","following_url":"https://api.github.com/users/ranr01/following{/other_user}","gists_url":"https://api.github.com/users/ranr01/gists{/gist_id}","starred_url":"https://api.github.com/users/ranr01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranr01/subscriptions","organizations_url":"https://api.github.com/users/ranr01/orgs","repos_url":"https://api.github.com/users/ranr01/repos","events_url":"https://api.github.com/users/ranr01/events{/privacy}","received_events_url":"https://api.github.com/users/ranr01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T19:47:04Z","updated_at":"2015-01-22T03:23:05Z","closed_at":null,"body":"Right now one can convert a sequnce to a numpy array like this:\r\n\r\n```python\r\n>>import numpy as np\r\n>>array_seq=np.array(seq)\r\n```\r\nhowever if one want to convert just a slice of the sequence, an exception is thrown:\r\n\r\n```python\r\n>> array_slice = np.array(seq[0,0,:,:,1])\r\n-------------------------------------------------------------------------\r\nValueError                                Traceback (most recent call last)\r\n<ipython-input-40-eb9949ee96b7> in <module>()\r\n----> 1 array(dataset.sequences[0][0,0,:,:,0])\r\n\r\nValueError: setting an array element with a sequence.\r\n```\r\n"}}