Skip to content

Commit

Permalink
format pr dataset file
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlyik committed May 21, 2024
1 parent cacf39c commit bb872c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion neurobench/datasets/primate_reaching.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ def load_data(self):

# Define the segments' start & end indices
self.start_end_indices = np.array(self.get_flag_index(target_pos))
self.time_segments = np.array(self.split_into_segments(self.start_end_indices, target_pos.shape[1]))
self.time_segments = np.array(
self.split_into_segments(self.start_end_indices, target_pos.shape[1])
)

spike_train = np.zeros((*spikes.shape, len(new_t)), dtype=np.int8)

Expand Down

0 comments on commit bb872c9

Please sign in to comment.