parameters: (self, sgf_file_name)
docstring: Add a single sgf file.
docstring_summary: Add a single sgf file.
docstring_tokens: Add a single sgf file .
function: def _add_one_sgf_file_to_result(self, sgf_file_name):
      """Add a single sgf file."""
      if not os.path.exists(sgf_file_name):
        raise Exception(f"There is no SGF file named: {sgf_file_name}")
  
      with open(sgf_file_name, "rb") as f:
        sgf = f.read()
  
      self._add_a_single_sgf_string(sgf, sgf_file_name)
function_tokens: def _add_one_sgf_file_to_result ( self , sgf_file_name ) : if not os . path . exists ( sgf_file_name ) : raise Exception ( f"There is no SGF file named: {sgf_file_name}" ) with open ( sgf_file_name , "rb" ) as f : sgf = f . read ( ) self . _add_a_single_sgf_string ( sgf , sgf_file_name )