Minor bug fix in runData.py