Hi all, I have used the below code for analyzing hbonds in my protein, but I am facing the error below. Please provide solution for this error?
python3 readHBmap.py -hbm hbmap.xpm -hbn rg.ndx -f md_0_1.gro -o occupancy.xvg -op pairs.dat -t 80 -dt 100
ERROR: Traceback (most recent call last): File "readHBmap.py", line 295, in startingLine,framesLine,numberFrames,numberHbonds=readFiles().hbmap(hbmap,inputHbmap) File "readHBmap.py", line 208, in hbmap numberFrames=int,framesLine[0] TypeError: 'map' object is not subscriptable