Open
Description
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'
Metadata
Metadata
Assignees
Labels
No labels