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/components/AppTable.vue b/frontend/src/components/AppTable.vue
index c5b5c8af..56625530 100644
--- a/frontend/src/components/AppTable.vue
+++ b/frontend/src/components/AppTable.vue
@@ -454,21 +454,6 @@ const ariaSort = computed(() => {
text-transform: capitalize;
}
-/* first th */
-.th:nth-child(1) {
- width: 30%;
-}
-
-/* second th */
-.th:nth-child(2) {
- width: 5%;
-}
-
-/* third th */
-.th:nth-child(3) {
- width: 30%;
-}
-
/** body cells */
.td {
border-bottom: solid 2px $light-gray;
diff --git a/frontend/src/pages/node/AssociationsTable.vue b/frontend/src/pages/node/AssociationsTable.vue
index 41566000..d1580f44 100644
--- a/frontend/src/pages/node/AssociationsTable.vue
+++ b/frontend/src/pages/node/AssociationsTable.vue
@@ -24,6 +24,31 @@
:total="associations.total"
@download="download"
>
+
+
+
+
+
+
+
No info
+
+ {{ source.id }}
+
+
@@ -180,8 +214,46 @@ const search = ref("");
type Datum = keyof DirectionalAssociation;
+/** Orholog columns */
+
+const orthologColoumns = computed>(() => {
+ return [
+ {
+ slot: "taxon",
+ key: "taxon" as Datum,
+ heading: "Taxon",
+ },
+ {
+ slot: "ortholog",
+ key: "ortholog" as Datum,
+ heading: "Ortholog",
+ },
+ {
+ slot: "has_evidence",
+ key: "has_evidence" as Datum,
+ heading: "Evidence",
+ },
+ {
+ slot: "primary_knowledge_source",
+ key: "primary_knowledge_source" as Datum,
+ heading: "Source",
+ },
+ { slot: "divider" },
+ {
+ slot: "details",
+ key: "evidence_count",
+ heading: "Details",
+ align: "center",
+ },
+ ];
+});
+
/** table columns */
const cols = computed((): Cols => {
+ if (props.category.id.includes("GeneToGeneHomology")) {
+ return orthologColoumns.value;
+ }
+
/** standard columns, always present */
const baseCols: Cols = [
{
@@ -219,14 +291,12 @@ const cols = computed((): Cols => {
let extraCols: Cols = [];
/** taxon column. exists for many categories, so just add if any row has taxon. */
- if (
- props.category.id.includes("GeneToGeneHomology") ||
- props.category.id.includes("Interaction")
- )
+ if (props.category.id.includes("Interaction")) {
extraCols.push({
slot: "taxon",
heading: "Taxon",
});
+ }
if (
props.node.in_taxon_label == "Homo sapiens" &&