def makeIgnoreExisting(dirname, f, test):
    #newDir = abspath_(dirname)
    newDir = dirname # FIXME does this still work? need to test ...
    if newDir not in existing_dirs:
        try:
            if not test(newDir):
                f(newDir)
            existing_dirs.add(newDir)
        except:
            print("Could not create directory " + str(dirname))
            raise
    return newDir
Return self + other, raising ShapeError if shapes don't match.
dataset/ETHPy150Open Mouse-Imaging-Centre/pydpiper/pydpiper/file_handling.py/makeIgnoreExisting--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/matrices/matrices.py/MatrixBase.__add__