Python code for handling i-ADHoRe output.