Skip to content

Commit

Permalink
Minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hfgem committed Nov 25, 2024
1 parent 83475e5 commit 651b3bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions/compare_datasets_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2504,7 +2504,7 @@ def cross_dataset_pop_rate_taste_corr_plots(rate_corr_data, unique_given_names,
seg_max_corr = 0
seg_min_corr = 1
for t_i, t_name in enumerate(unique_taste_names):
corr_vec = mean_corr_dict[corr_type][taste_name][s_name]['all']
corr_vec = mean_corr_dict[corr_type][t_name][s_name]['all']
if len(corr_array) > 1:
corr_max = np.nanmax(corr_vec)
corr_min = np.nanmin(corr_vec)
Expand Down
2 changes: 1 addition & 1 deletion functions/deviation_null_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def convert_to_rasters(self,):
for null_i in tqdm.tqdm(range(self.num_null)):
null_segment_deviations = self.all_null_deviations[null_i]
null_segment_spike_times = self.all_null_segment_spike_times[null_i]
null_segment_dev_rasters_i, null_segment_dev_times_i, _, _ = df.create_dev_rasters(num_seg,
null_segment_dev_rasters_i, null_segment_dev_times_i, _, _, _, _ = df.create_dev_rasters(num_seg,
null_segment_spike_times,
seg_times_reshaped,
null_segment_deviations, z_bin)
Expand Down

0 comments on commit 651b3bf

Please sign in to comment.