The attack in the Doura area of the Iraqi capital occurred after nearly 150 pilgrims were killed in a string of attacks on Tuesday.