original_docstring:  Method for getting all the unique molecules out
              of the assignments, and tally up the counts.
  
              :return identifications: dict containing a tally of molecules
                                       identified
          
docstring: Method for getting all the unique molecules out
  of the assignments, and tally up the counts.
docstring_tokens: Method for getting all the unique molecules out of the assignments and tally up the counts .
code: def _get_assigned_names(self):
          """ Method for getting all the unique molecules out
              of the assignments, and tally up the counts.
  
              :return identifications: dict containing a tally of molecules
                                       identified
          """
          names = [ass_obj.name for ass_obj in self.line_lists["Peaks"].get_assignments()]
          # Get unique names
          seen = set()
          seen_add = seen.add
          self.names = [name for name in names if not (name in seen or seen_add(name))]
          # Tally up the molecules
          self.identifications = {name: names.count(name) for name in self.names}
          return self.identifications
code_tokens: def _get_assigned_names ( self ) : names = [ ass_obj . name for ass_obj in self . line_lists [ "Peaks" ] . get_assignments ( ) ] seen = set ( ) seen_add = seen . add self . names = [ name for name in names if not ( name in seen or seen_add ( name ) ) ] self . identifications = { name : names . count ( name ) for name in self . names } return self . identifications
short_docstring: Method for getting all the unique molecules out
  of the assignments, and tally up the counts.
short_docstring_tokens: Method for getting all the unique molecules out of the assignments and tally up the counts .
comment: """ Method for getting all the unique molecules out
              of the assignments, and tally up the counts.
  
              :return identifications: dict containing a tally of molecules
                                       identified
          """$SEP$# Get unique names$SEP$# Tally up the molecules