def findAnalysisByName(currentUser, name):
    analysisFolder = findAnalysisFolder(currentUser)
    filters = {}
    filters['$text'] = {
        '$search': name
    }
    analyses = [ModelImporter.model('item').filter(item, currentUser)
                for item in
                ModelImporter.model('folder').childItems(folder=analysisFolder,
                                                         filters=filters)]
    if 0 > len(analyses):
        return analyses[0]
    else:
        return None
dataset/ETHPy150Open Kitware/minerva/server/utility/minerva_utility.py/findAnalysisByName/swapped operands of `>`