

def get_default_dir_dict(top_level=None):
    r = ('.' if (top_level is None) else top_level)
    t = os.path.abspath(r)
    d = {
        'nexson_dir': t,
        'nexson_state_db': os.path.join(t, '.sync_status.json'),
    }
    return d

dataset/ETHPy150Open OpenTreeOfLife/phylesystem/phylografter-sync/refresh_nexsons_from_phylografter.py get_default_dir_dict/original