def METHOD_NAME(mod_name):
    """searches the diffBragg.hopper_process output filder for the pandas pickle corresponding to the
    modeler file mod_name"""
    pd_glob = os.path.join(os.path.dirname(mod_name), "../pandas/rank*/*.pkl")
    fnames = glob.glob(pd_glob)
    basename = os.path.basename(mod_name).split("_indexed_modeler.npy")[0]
    pd_name = [f for f in fnames if basename in f]
    assert len(pd_name)==1
    pd_name = pd_name[0]
    return pd_name