Skip to content

Commit

Permalink
Merge pull request #49 from geneontology/publicize_causalmf
Browse files Browse the repository at this point in the history
publicize causalmf parameter used by the pathway widget to filter out…
  • Loading branch information
sierra-moxon authored Apr 21, 2023
2 parents 2392b69 + b29ed47 commit b38a0ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions app/routers/pathway_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ async def get_gocams_by_geneproduct_id(
),
causalmf: int = Query(
None,
description="Used by the pathway widget to get GP models with 2 causal MFs",
include_in_schema=False,
deprecated=True,
description="Used by the pathway widget The model has a chain of at least three functions connected "
"by at least two consecutive causal relation edges. One of these functions is enabled_by "
"this input gene"
),
):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_prefix_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
test_client = TestClient(app)
logger = logging.getLogger(__name__)

gene_ids = ["ZFIN:ZDB-GENE-980526-388", "ZFIN:ZDB-GENE-990415-8", "MGI:3588192", "FB:FBgn0003731"]
gene_ids = ["ZFIN:ZDB-GENE-980526-388", "ZFIN:ZDB-GENE-990415-8", "MGI:3588192", "MGI:MGI:3588192", "FB:FBgn0003731"]
go_ids = ["GO:0008150"]
subsets = ["goslim_agr"]
shared_ancestors = [("GO:0006259", "GO:0046483")]
Expand Down

0 comments on commit b38a0ae

Please sign in to comment.