def make_rows2(headers):


	varblock=[]
	# makes a list of rows from a given input header
	for row in headers:

		maxchared=15

		row1=row
		row2=row
		if row==headers[0]:
			newrow=(row1,row2) % """            var popupText = "<table><tr><th>%s: </th><td>" + feature.properties['%s']+"</td></tr>"; """
		else:
			newrow="""            var popupText = popupText+ "<tr><th>%s: </th><td>" + feature.properties['%s']+"</td></tr>"; """ % (row1,row2)
		varblock.append(newrow)
		if row==headers[-1]:
			newrow="""            var popupText = popupText+ "<tr><th>%s: </th><td>" + feature.properties['%s']+</td></tr></table>"; """ % (row1,row2)
	return varblock	

# experimenting with dierent popups
dataset/ETHPy150Open murphy214/berrl/berrl/piperealtime.py/make_rows2/swapped operands of `%`