Closed m-abdollahi closed 2 years ago
facing an error while extracting any information according to stimulus from a session.
steps: 1) cache a session 2) While using .stimulus_presentation or .get_stimulus_table or .stimulus_names
error :{ ValueError Traceback (most recent call last)
in () ----> 1 sessio.stimulus_names
13 frames
/usr/local/lib/python3.7/dist-packages/pandas/core/common.py in is_bool_indexer(key) 137 # Don't raise on e.g. ["A", "B", np.nan], see 138 # test_loc_getitem_list_of_labels_categoricalindex_with_na --> 139 raise ValueError(na_msg) 140 return False 141 return True
ValueError: Cannot mask with non-boolean array containing NA / NaN values }
error occuring in Allensdk version 2.13.5 , but it works well with 2.13.4 !
@m-abdollahi thanks for catching this. We've fixed this issue in the latest release (2.13.6)
@aamster YW!
facing an error while extracting any information according to stimulus from a session.
steps: 1) cache a session 2) While using .stimulus_presentation or .get_stimulus_table or .stimulus_names
error :{ ValueError Traceback (most recent call last)
13 frames
/usr/local/lib/python3.7/dist-packages/pandas/core/common.py in is_bool_indexer(key) 137 # Don't raise on e.g. ["A", "B", np.nan], see 138 # test_loc_getitem_list_of_labels_categoricalindex_with_na --> 139 raise ValueError(na_msg) 140 return False 141 return True
ValueError: Cannot mask with non-boolean array containing NA / NaN values }