<gh_stars>0

__module_name__ = "_find_overlapping.py"
__author__ = ", ".join(["<NAME>"])
__email__ = ", ".join(["<EMAIL>",])

# import packages #
# --------------- #
import numpy as np

def _find_overlapping(set_01, set_02, labels=[0, 1]):

    set_01_only = [clone for clone in set_01 if clone in set_02]
    set_02_only = [clone for clone in set_02 if clone in set_01]

    overlapping_clones = {
        labels[0]: np.array(set_01_only).astype(float),
        labels[1]: np.array(set_02_only).astype(float),
    }

    return overlapping_clones

__module_name__ = "_find_overlapping.py"
__author__ = ", ".join(["<NAME>"])
__email__ = ", ".join(["<EMAIL>",])

# import packages #
# --------------- #
import numpy as np

def _find_overlapping(set_01, set_02, labels=[0, 1]):

    set_01_only = [clone for clone in set_01 if clone in set_02]
    set_02_only = [clone for clone in set_02 if clone in set_01]

    overlapping_clones = {
        labels[0]: np.array(set_01_only).astype(float),
        labels[1]: np.array(set_02_only).astype(float),
    }

    return overlapping_clones
# import packages # # --------------- #