parameters: (line)
docstring: Determines whether a line contains GROMACS data or not
  
      @param[in] line The line to be tested
docstring_summary: Determines whether a line contains GROMACS data or not
docstring_tokens: Determines whether a line contains GROMACS data or not
function: def _is_gro_coord(line):
      """ Determines whether a line contains GROMACS data or not
  
      @param[in] line The line to be tested
  
      """
      # data lines are fixed field
      fields = []
      fields.append(line[16:20].strip()) # atom number
      fields.append(line[21:28].strip()) # x coord
      fields.append(line[29:36].strip()) # y coord
      fields.append(line[37:44].strip()) # z coord
      if (all([f != '' for f in fields])): # check for empty fields
          return all([_isint(fields[0]), _isfloat(fields[1]), _isfloat(fields[2]), _isfloat(fields[3])])
      else:
          return 0
function_tokens: def _is_gro_coord ( line ) : # data lines are fixed field fields = [ ] fields . append ( line [ 16 : 20 ] . strip ( ) ) # atom number fields . append ( line [ 21 : 28 ] . strip ( ) ) # x coord fields . append ( line [ 29 : 36 ] . strip ( ) ) # y coord fields . append ( line [ 37 : 44 ] . strip ( ) ) # z coord if ( all ( [ f != '' for f in fields ] ) ) : # check for empty fields return all ( [ _isint ( fields [ 0 ] ) , _isfloat ( fields [ 1 ] ) , _isfloat ( fields [ 2 ] ) , _isfloat ( fields [ 3 ] ) ] ) else : return 0