Update getAttrfromSeq.py