Skip to content

Commit a0f6737

Browse files
authored
Minor concept graph additions (#188)
* Add concept graph pipeline step enum 'integration' * Add ConceptClusterCreationDef It provides more info on how to create concept clusters in neo4j (which graphs to use and which phrases - if any - to exclude)
1 parent 3c5e1d6 commit a0f6737

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>top-api</artifactId>
66
<packaging>jar</packaging>
77
<name>TOP API</name>
8-
<version>0.13.0</version>
8+
<version>0.13.1</version>
99
<description>REST API of the TOP framework</description>
1010
<properties>
1111
<java.version>17</java.version>

schemas/top-api.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
info:
33
title: TOP API
4-
version: 0.13.0
4+
version: 0.13.1
55
description: |-
66
API to manage phenotypes, repositories, ontologies, external terminologies and organisations and to execute phenotypic queries.
77
@@ -533,10 +533,7 @@ paths:
533533
content:
534534
application/json:
535535
schema:
536-
description: Only build concept clusters for the specified graphs.
537-
type: array
538-
items:
539-
type: string
536+
$ref: '#/components/schemas/ConceptClusterCreationDef'
540537
responses:
541538
'200':
542539
description: A short summary of the concept clusters created.
@@ -2528,6 +2525,7 @@ components:
25282525
- embedding
25292526
- clustering
25302527
- graph
2528+
- integration
25312529
ConceptGraphPipelineStatusEnum:
25322530
type: string
25332531
enum:
@@ -3280,6 +3278,19 @@ components:
32803278
$ref: '#/components/schemas/StringArray'
32813279
required:
32823280
- id
3281+
ConceptClusterCreationDef:
3282+
type: object
3283+
properties:
3284+
graphIds:
3285+
description: 'List of ids for specific graphs that should be taken into account.'
3286+
type: array
3287+
items:
3288+
type: string
3289+
phraseExclusions:
3290+
description: 'List of ids of phrases that should not be included.'
3291+
type: array
3292+
items:
3293+
type: string
32833294
ConceptPipelineConfigRequest:
32843295
type: string
32853296
ConceptPipelineRequest:

0 commit comments

Comments
 (0)