add_child_from_local

Add a child file from a local file system path

Adds a new file to the compound file from a local file system file path.

Parameters:

  • path:str: the string path to the file.
  • instance_list:list: The instance list data to attach to the file. For info on instances Read the Instance Format
  • frame_packet_map: The frame packet map for video files.
  • assume_new_instances_machine_made:bool: Set to True if you want to flag the provided instance list as "machine made" that means that the instances were inferences from some machine learning model and not human annotations.
  • convert_names_to_label_files:bool: Convert label names to label file IDs.
  • ordinal:int: Order for display on the children list.