Skip to content

Commit

Permalink
fix wrong "runs", "analyses" entry types in beaconMap
Browse files Browse the repository at this point in the history
See #125
  • Loading branch information
mbaudis committed Apr 15, 2024
1 parent afaf76a commit 93387d9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions models/json/beacon-v2-default-model/beaconMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"cohort": {
"endpoints": {
"analyses": {
"analysis": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/cohorts/{id}/analyses"
},
Expand All @@ -51,7 +51,7 @@
"returnedEntryType": "individual",
"url": "https://exampleBeacons.org/cohorts/{id}/individuals"
},
"runs": {
"run": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/cohorts/{id}/runs"
}
Expand All @@ -64,7 +64,7 @@
},
"dataset": {
"endpoints": {
"analyses": {
"analysis": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/datasets/{id}/analyses"
},
Expand All @@ -80,7 +80,7 @@
"returnedEntryType": "individual",
"url": "https://exampleBeacons.org/datasets/{id}/individuals"
},
"runs": {
"run": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/datasets/{id}/runs"
}
Expand All @@ -93,7 +93,7 @@
},
"genomicVariant": {
"endpoints": {
"analyses": {
"analysis": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/g_variants/{id}/analyses"
},
Expand All @@ -105,7 +105,7 @@
"returnedEntryType": "individual",
"url": "https://exampleBeacons.org/g_variants/{id}/individuals"
},
"runs": {
"run": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/g_variants/{id}/runs"
}
Expand All @@ -117,7 +117,7 @@
},
"individual": {
"endpoints": {
"analyses": {
"analysis": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/individuals/{id}/analyses"
},
Expand All @@ -129,7 +129,7 @@
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/individuals/{id}/g_variants"
},
"runs": {
"run": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/individuals/{id}/runs"
}
Expand Down
16 changes: 8 additions & 8 deletions models/src/beacon-v2-default-model/beaconMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ endpointSets:
individual:
returnedEntryType: individual
url: https://exampleBeacons.org/datasets/{id}/individuals
runs:
run:
returnedEntryType: run
url: https://exampleBeacons.org/datasets/{id}/runs
analyses:
analysis:
returnedEntryType: analysis
url: https://exampleBeacons.org/datasets/{id}/analyses
cohort:
Expand All @@ -38,10 +38,10 @@ endpointSets:
biosample:
returnedEntryType: biosample
url: https://exampleBeacons.org/cohorts/{id}/biosamples
runs:
run:
returnedEntryType: run
url: https://exampleBeacons.org/cohorts/{id}/runs
analyses:
analysis:
returnedEntryType: analysis
url: https://exampleBeacons.org/cohorts/{id}/analyses
genomicVariant:
Expand All @@ -56,10 +56,10 @@ endpointSets:
individual:
returnedEntryType: individual
url: https://exampleBeacons.org/g_variants/{id}/individuals
runs:
run:
returnedEntryType: run
url: https://exampleBeacons.org/g_variants/{id}/runs
analyses:
analysis:
returnedEntryType: analysis
url: https://exampleBeacons.org/g_variants/{id}/analyses
individual:
Expand All @@ -75,10 +75,10 @@ endpointSets:
biosample:
returnedEntryType: biosample
url: https://exampleBeacons.org/individuals/{id}/biosamples
runs:
run:
returnedEntryType: run
url: https://exampleBeacons.org/individuals/{id}/runs
analyses:
analysis:
returnedEntryType: analysis
url: https://exampleBeacons.org/individuals/{id}/analyses
biosample:
Expand Down

0 comments on commit 93387d9

Please sign in to comment.