parameters: (package_db)
return_statement: return trilinosID
docstring: Given the software package database, find the key that corresponds to the
      Trilinos ID.  This will be a unique string that contains both "Trilinos" and
      the version string.  Return this package ID.
docstring_summary: Given the software package database, find the key that corresponds to the
      Trilinos ID.  This will be a unique string that contains both "Trilinos" and
      the version string.  Return this package ID.
docstring_tokens: Given the software package database find the key that corresponds to the Trilinos ID . This will be a unique string that contains both Trilinos and the version string . Return this package ID .
function: def get_trilinos_id(package_db):
      """
      Given the software package database, find the key that corresponds to the
      Trilinos ID.  This will be a unique string that contains both "Trilinos" and
      the version string.  Return this package ID.
      """
      trilinos = u"Trilinos"
      trilinosID = None
      for package in package_db.keys():
          if package.startswith(trilinos):
              trilinosID = package
              break
      if trilinosID is None:
          raise ValueError("Trilinos not found in database")
      return trilinosID
function_tokens: def get_trilinos_id ( package_db ) : trilinos = u"Trilinos" trilinosID = None for package in package_db . keys ( ) : if package . startswith ( trilinos ) : trilinosID = package break if trilinosID is None : raise ValueError ( "Trilinos not found in database" ) return trilinosID