original_docstring: 
          Function to update the name of a LineList. This function should be used
          to update a LineList, particularly when the identity of an unidentified
          molecule is discovered.
  
          Parameters
          ----------
          name: str
              Old name of the LineList.
          new_name: str
              New name of the LineList - preferably, a real molecule name.
          formula: str, optional
              New formula of the LineList.
          
docstring: Function to update the name of a LineList. This function should be used
  to update a LineList, particularly when the identity of an unidentified
  molecule is discovered.
  
  Parameters
  
  str
  Old name of the LineList.
  new_name: str
  New name of the LineList - preferably, a real molecule name.
  formula: str, optional
  New formula of the LineList.
docstring_tokens: Function to update the name of a LineList . This function should be used to update a LineList particularly when the identity of an unidentified molecule is discovered . Parameters str Old name of the LineList . new_name : str New name of the LineList - preferably a real molecule name . formula : str optional New formula of the LineList .
code: def rename_umolecule(self, name: str, new_name: str, formula=""):
          """
          Function to update the name of a LineList. This function should be used
          to update a LineList, particularly when the identity of an unidentified
          molecule is discovered.
  
          Parameters
          ----------
          name: str
              Old name of the LineList.
          new_name: str
              New name of the LineList - preferably, a real molecule name.
          formula: str, optional
              New formula of the LineList.
          """
          if name in self.line_lists:
              # Rename the LineList within the experiment
              self.line_lists[new_name] = self.line_lists.pop(name)
              self.line_lists[new_name].name = new_name
              self.line_lists[new_name].formula = formula
              # Create symlinks to the catalog with the new name for book keeping
              sym_path = Path(f"linelists/{new_name}.cat")
              sym_path.symlink_to(self.line_lists[new_name].filepath)
          else:
              raise Exception(
                  f"{name} does not exist in {self.session.experiment} line_lists"
              )
code_tokens: def rename_umolecule ( self , name : str , new_name : str , formula = "" ) : if name in self . line_lists : self . line_lists [ new_name ] = self . line_lists . pop ( name ) self . line_lists [ new_name ] . name = new_name self . line_lists [ new_name ] . formula = formula sym_path = Path ( f"linelists/{new_name}.cat" ) sym_path . symlink_to ( self . line_lists [ new_name ] . filepath ) else : raise Exception ( f"{name} does not exist in {self.session.experiment} line_lists" )
short_docstring: Function to update the name of a LineList.
short_docstring_tokens: Function to update the name of a LineList .
comment: """
          Function to update the name of a LineList. This function should be used
          to update a LineList, particularly when the identity of an unidentified
          molecule is discovered.
  
          Parameters
          ----------
          name: str
              Old name of the LineList.
          new_name: str
              New name of the LineList - preferably, a real molecule name.
          formula: str, optional
              New formula of the LineList.
          """$SEP$# Rename the LineList within the experiment$SEP$# Create symlinks to the catalog with the new name for book keeping