diff --git a/docs/releases/v2.3.0.md b/docs/releases/v2.3.0.md new file mode 100644 index 0000000000000000000000000000000000000000..181a9bbc4a9405b125ce4df4fa8954c2def33736 --- /dev/null +++ b/docs/releases/v2.3.0.md @@ -0,0 +1,7 @@ +# v2.3.0 + +9 June 2020 + +## New features + +- Import "Individual Brain Charting (IBC)" data to explorable datasets diff --git a/src/ui/databrowserModule/singleDataset/singleDataset.base.ts b/src/ui/databrowserModule/singleDataset/singleDataset.base.ts index 9b2ed686945b763819044a4bce8ca4d67fb963c7..5fdd11b073145a6f530bd1a3688b5c0ca622fe78 100644 --- a/src/ui/databrowserModule/singleDataset/singleDataset.base.ts +++ b/src/ui/databrowserModule/singleDataset/singleDataset.base.ts @@ -109,9 +109,10 @@ export class SingleDatasetBase implements OnInit, OnChanges { public async fetchDatasetDetail(){ try { const { kgId } = this + const { kgSchema } = this if (!kgId) return - const dataset = await this.singleDatasetService.getInfoFromKg({ kgId }) - + const dataset = await this.singleDatasetService.getInfoFromKg({ kgId, kgSchema }) + const { name, description, publications, fullId } = dataset this.name = name this.description = description @@ -127,18 +128,18 @@ export class SingleDatasetBase implements OnInit, OnChanges { // TODO this is not perfect logic for singledataset // singledataset.base.ts should be tidied up in general // fullId, kgId, dataset... too many different entries - + public ngOnChanges(){ if (!this.kgId) { const fullId = this.fullId || this.dataset?.fullId - + const re = getKgSchemaIdFromFullId(fullId) if (re) { this.kgSchema = re[0] this.kgId = re[1] } } - + this.fetchDatasetDetail() }