def updating_guard():
    if _frame is None:
        return None
    return _frame.UpdatingGuard(_frame)
Tries to make directories for a given `filename`.
dataset/ETHPy150Open manahl/mdf/mdf/viewer/__init__.py/updating_guard--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/try_make_dirs