parameters: (self, inputBamList, inputLabel)
docstring: inputBamList must be non-empty
docstring_summary: inputBamList must be non-empty
docstring_tokens: inputBamList must be non - empty
function: def appendBams(self, inputBamList, inputLabel) :
          """
          inputBamList must be non-empty
          """
  
          if (inputBamList is None) or (len(inputBamList) == 0) :
              raise OptParseException("No %s sample BAM/CRAM files specified" % (inputLabel))
  
          for inputBamFile in inputBamList :
              self.bamList.append(inputBamFile)
              self.bamLabels.append(inputLabel)
function_tokens: def appendBams ( self , inputBamList , inputLabel ) : if ( inputBamList is None ) or ( len ( inputBamList ) == 0 ) : raise OptParseException ( "No %s sample BAM/CRAM files specified" % ( inputLabel ) ) for inputBamFile in inputBamList : self . bamList . append ( inputBamFile ) self . bamLabels . append ( inputLabel )