def METHOD_NAME(directory):
    instance = CompactAdjacency(None, None)
    instance.degrees = np.load(os.path.join(directory, "degrees.npy"))
    instance.compact_adj = scipy.sparse.load_npz(
        os.path.join(directory, "cadj.npz")
    )
    logging.info("\n\ncompact_adj.py from_directory\n\n")
    # Make adj from cadj and save to adj.npz
    import IPython
    IPython.embed()
    instance.adj = scipy.sparse.load_npz(os.path.join(directory, "adj.npz"))
    instance.num_nodes = instance.adj.shape[0]
    return instance