@@ -32,7 +32,7 @@ def annotate_licks(nwb):
3232 nwb is an object that has df_events as an attribute
3333 """
3434 if not hasattr (nwb , "df_events" ):
35- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
35+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
3636 return
3737 nwb .df_licks = annotate_lick_bouts (nwb )
3838 nwb .df_licks = annotate_artifacts (nwb )
@@ -57,7 +57,7 @@ def annotate_lick_bouts(nwb):
5757 """
5858
5959 if not hasattr (nwb , "df_events" ):
60- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
60+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
6161 return
6262 df_licks = nwb .df_events .query ('event in ["right_lick_time","left_lick_time"]' ).copy ()
6363 df_licks .reset_index (drop = True , inplace = True )
@@ -90,7 +90,7 @@ def annotate_artifacts(nwb):
9090 nwb, an object with attributes: df_licks, df_events
9191 """
9292 if not hasattr (nwb , "df_events" ):
93- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
93+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
9494 return
9595
9696 if not hasattr (nwb , "df_licks" ):
@@ -122,7 +122,7 @@ def annotate_rewards(nwb):
122122 """
123123
124124 if not hasattr (nwb , "df_events" ):
125- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
125+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
126126 return
127127
128128 # ensure we have df_licks
@@ -183,7 +183,7 @@ def annotate_cue_response(nwb):
183183 """
184184
185185 if not hasattr (nwb , "df_events" ):
186- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
186+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
187187 return
188188
189189 # ensure we have df_licks
@@ -232,7 +232,7 @@ def annotate_intertrial_choices(nwb):
232232 """
233233 # Add lick_bout annotation, and cue_response if not already added
234234 if not hasattr (nwb , "df_events" ):
235- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
235+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
236236 return
237237 if not hasattr (nwb , "df_licks" ):
238238 nwb .df_licks = annotate_lick_bouts (nwb )
@@ -267,7 +267,7 @@ def annotate_switches(nwb):
267267 """
268268 # Add lick_bout annotation, and cue_response if not already added
269269 if not hasattr (nwb , "df_events" ):
270- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
270+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
271271 return
272272 if not hasattr (nwb , "df_licks" ):
273273 nwb .df_licks = annotate_lick_bouts (nwb )
@@ -337,7 +337,7 @@ def annotate_within_session(nwb):
337337 """
338338
339339 if not hasattr (nwb , "df_events" ):
340- print ("You need to compute df_events: nwb_utils.create_events_df (nwb)" )
340+ print ("You need to compute df_events: nwb_utils.create_df_events (nwb)" )
341341 return
342342
343343 # ensure we have df_licks
0 commit comments