You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See line 1392 as example, atom._coords = [ [ float(rec[5]), float(rec[6]), float(rec[7]) ] ]
the rec here comes from line 1308: rec = split(rec)
Sometimes protein PDB file content looks like(protein 2p7a from PDBBind database): ATOM 406 O ASP A 259 66.586 -29.223-100.911 1.00 14.83 O
If directly use string.split() here, the number -29.223-100.911 will not be split correctly.
It will raise error like: ValueError: could not convert string to float: '-29.223-100.911'
The text was updated successfully, but these errors were encountered:
See line 1392 as example,
atom._coords = [ [ float(rec[5]), float(rec[6]), float(rec[7]) ] ]
the
rec
here comes from line 1308:rec = split(rec)
Sometimes protein PDB file content looks like(protein 2p7a from PDBBind database):
ATOM 406 O ASP A 259 66.586 -29.223-100.911 1.00 14.83 O
If directly use
string.split()
here, the number -29.223-100.911 will not be split correctly.It will raise error like:
ValueError: could not convert string to float: '-29.223-100.911'
The text was updated successfully, but these errors were encountered: