From 1df7b8e9aa04350466d5608bc533189dd0fddb4d Mon Sep 17 00:00:00 2001 From: eddturner Date: Wed, 16 Dec 2020 15:13:20 +0000 Subject: [PATCH] changing test that mocked "UniProtKB_accession" property in uniparc json xrefs, which doesn't seem to exist. done because front-end found that accession filtering on uniparc responses gave empty results. --- .../resources/return-fields-config/uniparc-return-fields.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json b/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json index 8c813d64f..6ba141ead 100644 --- a/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json +++ b/uniprot-config/src/main/resources/return-fields-config/uniparc-return-fields.json @@ -128,7 +128,7 @@ "defaultForTsvOrder" : 2, "label": "UniProtKB", "name": "accession", - "paths": ["uniParcCrossReferences[*].properties[?(@.key=='UniProtKB_accession')]"], + "paths": ["uniParcCrossReferences[?(@.database =~ /^UniProtKB.*/)]"], "id": "miscellaneous/accession", "includeInSwagger": true },