def get_exp(self, name, path='.'):
        """ given an experiment name (used in section titles), this function
            returns the correct path of the experiment. 
        """
        exps = []
        for dp, dn, df in os.walk(path):
            if df in 'experiment.cfg':
                cfgp = ConfigParser()
                cfgp.read(os.path.join(dp, 'experiment.cfg'))
                if name in cfgp.sections():
                    exps.append(dp)
        return exps
dataset/ETHPy150Open rueckstiess/expsuite/expsuite.py/PyExperimentSuite.get_exp/swapped operands of `in`