Skip to content

Commit 7512e38

Browse files
Merge pull request #68 from AllenNeuralDynamics/fix_censor_times
data_column expclitly passed in
2 parents b0234fe + 7dfbfaf commit 7512e38

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/aind_dynamic_foraging_basic_analysis/plot

src/aind_dynamic_foraging_basic_analysis/plot/plot_fip.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ def plot_fip_psth_compare_channels(
152152
colors = [FIP_COLORS.get(c, "") for c in channels]
153153
for dex, c in enumerate(channels):
154154
if c in nwb.df_fip["event"].values:
155-
etr = fip_psth_inner_compute(nwb, align_timepoints, c, True, tw, censor, data_column)
155+
etr = fip_psth_inner_compute(nwb, align_timepoints, c, True, tw,
156+
censor, data_column=data_column)
156157
fip_psth_inner_plot(ax, etr, colors[dex], c, data_column)
157158
else:
158159
print("No data for channel: {}".format(c))

0 commit comments

Comments
 (0)