original_docstring: Transform an atom dictionary into a valid PDB line.
docstring: Transform an atom dictionary into a valid PDB line.
docstring_tokens: Transform an atom dictionary into a valid PDB line .
code: def dict2pdb(d):
      """Transform an atom dictionary into a valid PDB line."""
      (x, y, z) = d['coords']
      args = (d['at_type'], d['ser_num'], d['at_name'], d['alt_loc'],
              d['res_name'][-3:], d['chain_id'], d['res_id'], d['res_ic'],
              x , y , z , d['occupancy'], d['bfactor'], d['seg_id'], d['element'])
      return PDB_COORDS_STRING % args
code_tokens: def dict2pdb ( d ) : ( x , y , z ) = d [ 'coords' ] args = ( d [ 'at_type' ] , d [ 'ser_num' ] , d [ 'at_name' ] , d [ 'alt_loc' ] , d [ 'res_name' ] [ - 3 : ] , d [ 'chain_id' ] , d [ 'res_id' ] , d [ 'res_ic' ] , x , y , z , d [ 'occupancy' ] , d [ 'bfactor' ] , d [ 'seg_id' ] , d [ 'element' ] ) return PDB_COORDS_STRING % args
short_docstring: Transform an atom dictionary into a valid PDB line.
short_docstring_tokens: Transform an atom dictionary into a valid PDB line .
comment: """Transform an atom dictionary into a valid PDB line."""