def getAllExperimentDirectories(excludedExperiments=[]):
 excludedDirectories = ['exp', 'inference', 'networks', 'legacy']
 excludedDirectories.extend(excludedExperiments)
 return getAllDirectoriesWithFile(path='experiments', filename='description.py', excludeDirs=excludedDirectories)

def getAllExperimentDirectories ( excludedExperiments = [ ] ) : excludedDirectories = [ 'exp' , 'inference' , 'networks' , 'legacy' ] excludedDirectories . extend ( excludedExperiments ) return getAllDirectoriesWithFile ( path = 'experiments' , filename = 'description.py' , excludeDirs = excludedDirectories )
experiment directories are the directories with a description .