def test_has_members_er(): bpe = bp.model.getByID(uri_prefix +\ 'ProteinReference_971cec47bcd850e2b7d602f0416edacf') bpe = cast(bpc._bp('ProteinReference'), bpe) assert (bpc._has_members(bpe)) bpe = bp.model.getByID('http://identifiers.org/uniprot/P56159') bpe = cast(bpc._bp('ProteinReference'), bpe) assert (not bpc._has_members(bpe))
def test_has_members_er(): bpe = bp.model.getByID(uri_prefix +\ 'ProteinReference_971cec47bcd850e2b7d602f0416edacf') bpe = cast(bpc._bp('ProteinReference'), bpe) assert(bpc._has_members(bpe)) bpe = bp.model.getByID('http://identifiers.org/uniprot/P56159') bpe = cast(bpc._bp('ProteinReference'), bpe) assert(not bpc._has_members(bpe))
def test_has_members_pe2(): bpe = bp.model.getByID(uri_prefix + 'Protein_7d526475fd43d0a07ca1a596fe81aae0') bpe = cast(bpc._bp('Protein'), bpe) assert (not bpc._has_members(bpe))
def test_has_members_pe(): bpe = bp.model.getByID('http://identifiers.org/reactome/REACT_117345.2') bpe = cast(bpc._bp('Protein'), bpe) assert (bpc._has_members(bpe))
def test_has_members_pe2(): bpe = bp.model.getByID(uri_prefix + 'Protein_7d526475fd43d0a07ca1a596fe81aae0') bpe = cast(bpc._bp('Protein'), bpe) assert(not bpc._has_members(bpe))
def test_has_members_pe(): bpe = bp.model.getByID('http://identifiers.org/reactome/REACT_117345.2') bpe = cast(bpc._bp('Protein'), bpe) assert(bpc._has_members(bpe))