parameters: (self)
docstring: Checks for optional parameters.
docstring_summary: Checks for optional parameters.
docstring_tokens: Checks for optional parameters .
function: def check(self):
        """Checks for optional parameters."""
  
        super(InputForceBeads,self).check()
        if self.nbeads.fetch() < 0:
           raise ValueError("The forces must be evaluated over a positive number of beads.")
function_tokens: def check ( self ) : super ( InputForceBeads , self ) . check ( ) if self . nbeads . fetch ( ) < 0 : raise ValueError ( "The forces must be evaluated over a positive number of beads." )