print formatted string instead of tuple in eaf.py