def rmtree_errorhandler(func, path, exc_info):
    # if file type currently read only
    if os.stat(path).st_mode & stat.S_IREAD:
        # convert to read/write
        os.chmod(path, stat.S_IWRITE)
        # use the original function to repeat the operation
        func(path)
        return
    else:
        raise
Initializes a newly constructed :class:`IrregularlySampledSignal`
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/rmtree_errorhandler--crossover with--dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/core/irregularlysampledsignal.py/IrregularlySampledSignal.__init__