Browse Source

gin commit from nit-ope-de04

Modified files: 1
sprenger 3 years ago
parent
commit
53219debc7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      code/example.py

+ 2 - 2
code/example.py

@@ -79,7 +79,7 @@ session = reachgraspio.ReachGraspIO(session_name, odml_directory=odml_dir)
 
 block = session.read_block(lazy=True, correct_filter_shifts=True)
 
-# Access the single Segment of the data block, reaching up to 300s.
+# Validate there is only a single Segment present in the block
 assert len(block.segments) == 1
 
 # loading data content of all data objects during the first 300 seconds
@@ -264,7 +264,7 @@ for event in trial_segment.events:
                     alpha=0.2,
                     linewidth=3,
                     linestyle='dashed',
-                    label=f'event {event.array_annotations["trial_event_labels"][ev_id]}'
+                    label=f'event {event.array_annotations["trial_event_labels"][ev_id]}')
 
 # Finishing touches on the plot
 plt.autoscale(enable=True, axis='x', tight=True)