original_docstring: 
          Convert and normalize given position to standard Tecan numbering
          
          Args:
              pos (str | int | float): e.g. 'A2' or 'a2' or 2 or 2.0
          Returns:
              int: plate position according to Tecan numbering ('B1'=>9)
  
          Raises:
              PlateError: if the resulting position is outside well number
          
docstring: Convert and normalize given position to standard Tecan numbering
docstring_tokens: Convert and normalize given position to standard Tecan numbering
code: def pos2int(self, pos):
          """
          Convert and normalize given position to standard Tecan numbering
          
          Args:
              pos (str | int | float): e.g. 'A2' or 'a2' or 2 or 2.0
          Returns:
              int: plate position according to Tecan numbering ('B1'=>9)
  
          Raises:
              PlateError: if the resulting position is outside well number
          """
          if type(pos) in [int, float]:
              letter, number = '', int(pos)
          else:
              letter, number = self.str2tuple(pos)
              
          if letter:
              row = string.ascii_uppercase.find(letter) + 1
              col = number
              r = (col - 1) * self.ny + row
          else:
              r = number
          
          if r > self.n:
              raise PlateError('plate position %r exceeds number of wells' % r)
          if not r:
              raise PlateError('invalid plate position: %r' % pos)
          
          return r
code_tokens: def pos2int ( self , pos ) : if type ( pos ) in [ int , float ] : letter , number = '' , int ( pos ) else : letter , number = self . str2tuple ( pos ) if letter : row = string . ascii_uppercase . find ( letter ) + 1 col = number r = ( col - 1 ) * self . ny + row else : r = number if r > self . n : raise PlateError ( 'plate position %r exceeds number of wells' % r ) if not r : raise PlateError ( 'invalid plate position: %r' % pos ) return r
short_docstring: Convert and normalize given position to standard Tecan numbering
short_docstring_tokens: Convert and normalize given position to standard Tecan numbering
comment: """
          Convert and normalize given position to standard Tecan numbering
          
          Args:
              pos (str | int | float): e.g. 'A2' or 'a2' or 2 or 2.0
          Returns:
              int: plate position according to Tecan numbering ('B1'=>9)
  
          Raises:
              PlateError: if the resulting position is outside well number
          """