parameters: (tree,branchSelectionString,status=0)
return_statement: return tree
docstring: This is used by _copyTreeSubset() to turn on/off branches
docstring_summary: This is used by _copyTreeSubset() to turn on/off branches
docstring_tokens: This is used by _copyTreeSubset () to turn on / off branches
function: def _setBranchStatus(tree,branchSelectionString,status=0):
      """This is used by _copyTreeSubset() to turn on/off branches"""
      for branchToModify in branchSelectionString.split(","):
          logging.info("Setting branch status to %d for %s"%(status,branchToModify)  )
          tree.SetBranchStatus(branchToModify,status)
      return tree
function_tokens: def _setBranchStatus ( tree , branchSelectionString , status = 0 ) : for branchToModify in branchSelectionString . split ( "," ) : logging . info ( "Setting branch status to %d for %s" % ( status , branchToModify ) ) tree . SetBranchStatus ( branchToModify , status ) return tree