code: def read_interval_from_lines(interval_lines):
      assert len(interval_lines) == 3, "error lines"
  
      assert "xmin" in interval_lines[0], "error line 0, {}".format(
          interval_lines[0]
      )
      xmin = float(
          interval_lines[0]
          .split("=")[1]
          .replace(" ", "")
          .replace("\r", "")
          .replace("\n", "")
      )
  
      assert "xmax" in interval_lines[1], "error line 1, {}".format(
          interval_lines[1]
      )
      xmax = float(
          interval_lines[1]
          .split("=")[1]
          .replace(" ", "")
          .replace("\r", "")
          .replace("\n", "")
      )
  
      assert "text" in interval_lines[2], "error line 2, {}".format(
          interval_lines[2]
      )
      text = (
          interval_lines[2]
          .split("=")[1]
          .replace(" ", "")
          .replace('"', "")
          .replace("\r", "")
          .replace("\n", "")
      )
  
      return Interval(xmin=xmin, xmax=xmax, text=text)
  
imports: import argparse
  import codecs
  import glob
  import os
  import sys
  from multiprocessing import Pool
label_desc: Use image node_id 4 for calling a global function with example usage: read_interval_from_lines(interval_lines) and returns: Interval