code: def test_read_chord_annotations(self):
      chords = load_chords(
          pj(DETECTIONS_PATH, "sample2.dc_chord_recognition.txt")
      )
      _compare_labels(
          self,
          chords,
          np.array(
              [
                  (0.0, 1.6, "F:maj"),
                  (1.6, 2.5, "A:maj"),
                  (2.5, 4.1, "D:maj"),
              ],
              dtype=SEGMENT_DTYPE,
          ),
      )
  
      chords = load_chords(
          pj(DETECTIONS_PATH, "sample.dc_chord_recognition.txt")
      )
      _compare_labels(
          self,
          chords,
          np.array([(0.0, 2.9, "G#:maj")], dtype=SEGMENT_DTYPE),
      )
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.features import Activations
  from madmom.features.chords import *
  from madmom.io import load_chords
  from .None import ACTIVATIONS_PATH, AUDIO_PATH, DETECTIONS_PATH
label_desc: Use image node_id 1 for calling the TestParseChords obj's underlying member method code with example usage: obj.test_read_chord_annotations() without return types