From e6eef6acb97e83529ce19659d6977f8096f5cf58 Mon Sep 17 00:00:00 2001 From: Kevin Schaper Date: Fri, 13 Dec 2024 14:15:34 -0800 Subject: [PATCH 1/4] Define columns for orthology section separately from the generic method --- backend/src/monarch_py/solr_cli.py | 10 +-- frontend/src/pages/node/AssociationsTable.vue | 82 ++++++++++++++++++- 2 files changed, 80 insertions(+), 12 deletions(-) diff --git a/backend/src/monarch_py/solr_cli.py b/backend/src/monarch_py/solr_cli.py index 73f6d6ae..0d27a415 100644 --- a/backend/src/monarch_py/solr_cli.py +++ b/backend/src/monarch_py/solr_cli.py @@ -210,11 +210,7 @@ def multi_entity_associations( ] = None, counterpart_category: Annotated[ Optional[List[str]], - typer.Option( - "--counterpart-category", - "-c", - help="A comma-separated list of counterpart categories" - ), + typer.Option("--counterpart-category", "-c", help="A comma-separated list of counterpart categories"), ] = None, limit: fields.LimitOption = 20, offset: fields.OffsetOption = 0, @@ -306,9 +302,7 @@ def histopheno( @solr_app.command("association-counts") def association_counts( - entity_id: Annotated[ - str, typer.Argument(help="The entity to get association counts for") - ], + entity_id: Annotated[str, typer.Argument(help="The entity to get association counts for")], fmt: fields.FormatOption = fields.OutputFormat.json, output: fields.OutputOption = None, ): diff --git a/frontend/src/pages/node/AssociationsTable.vue b/frontend/src/pages/node/AssociationsTable.vue index 41566000..f2c2bf3b 100644 --- a/frontend/src/pages/node/AssociationsTable.vue +++ b/frontend/src/pages/node/AssociationsTable.vue @@ -24,6 +24,31 @@ :total="associations.total" @download="download" > + + + + +