parameters: (path)
return_statement: return density
docstring: path: the file path of the transportProperties file.
docstring_summary: path: the file path of the transportProperties file.
docstring_tokens: path : the file path of the transportProperties file .
function: def readDensity(path):
  	"""
  	path: the file path of the transportProperties file.
  	"""
  	lines = getLinesFromFile(path)
  	density = None
  	for line in lines:
  		if line.count("rho") > 0:
  			line = line.replace(";","")
  			density = float(line.split()[-1])
  			break
  	return density
function_tokens: def readDensity ( path ) : lines = getLinesFromFile ( path ) density = None for line in lines : if line . count ( "rho" ) > 0 : line = line . replace ( ";" , "" ) density = float ( line . split ( ) [ - 1 ] ) break return density