def _template_param(tree, param):
    return [
        (i, name)
        for i, name
         in enumerate(tree)
         if (str, unicode) in type(name) and
            name.startswith(param)
    ][0]
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/aws/icel.py/_template_param/swapped operands of `in`