-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from EBISPOT/29-03-22-release
29 03 22 release
- Loading branch information
Showing
70 changed files
with
4,037 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div style="min-height: 70vh"> | ||
<app-header></app-header> | ||
<app-header *ngIf="routePath !== 'login'"></app-header> | ||
<div> | ||
<router-outlet></router-outlet> | ||
</div> | ||
</div> | ||
<app-footer></app-footer> | ||
<!--<app-footer></app-footer>--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import { Component } from '@angular/core'; | ||
import {ActivationEnd, Router} from "@angular/router"; | ||
|
||
@Component({ | ||
selector: 'app-root', | ||
templateUrl: 'app.component.html', | ||
styleUrls: ['app.component.css'] | ||
}) | ||
export class AppComponent { | ||
|
||
routePath: string; | ||
constructor(private router: Router) { | ||
router.events.subscribe((val) => { | ||
if (val instanceof ActivationEnd) { | ||
this.routePath = val.snapshot.routeConfig.path; | ||
} | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Provenance } from './provenance'; | ||
|
||
export interface EfoTrait { | ||
efoTraitId: string; | ||
trait: string; | ||
shortForm: string; | ||
uri: string; | ||
created: Provenance; | ||
edited: Provenance; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Provenance } from './provenance'; | ||
|
||
export interface ReportedTrait { | ||
diseaseTraitId: string; | ||
trait: string; | ||
created: Provenance; | ||
} |
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
src/app/core/models/rest/api-responses/efoTraitsListApiResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { EfoTrait } from '../../efoTrait'; | ||
import { ApiResponse } from './apiResponse'; | ||
|
||
export interface EfoTraitsListApiResponse extends ApiResponse { | ||
|
||
_embedded: { | ||
efoTraits: EfoTrait[]; | ||
}; | ||
} |
8 changes: 8 additions & 0 deletions
8
src/app/core/models/rest/api-responses/reportedTraitsListApiResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { ApiResponse } from './apiResponse'; | ||
import { ReportedTrait } from '../../reportedTrait'; | ||
|
||
export interface ReportedTraitsListApiResponse extends ApiResponse { | ||
_embedded: { | ||
diseaseTraits: ReportedTrait[]; | ||
}; | ||
} |
4 changes: 2 additions & 2 deletions
4
...pi-responses/submissionListApiResponse.ts → ...pi-responses/submissionListApiResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/app/core/models/rest/api-responses/traitUploadApiResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// TODO delete | ||
export interface TraitUploadApiResponse { | ||
trait: string; | ||
uploadComment: string; | ||
links: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { ReportedTrait } from './reportedTrait'; | ||
import { EfoTrait } from './efoTrait'; | ||
|
||
export interface Study { | ||
studyId: string; | ||
study_tag: string; | ||
study_accession: string; | ||
genotyping_technology: string; | ||
array_manufacturer: string; | ||
array_information: string; | ||
imputation: boolean; | ||
variant_count: number; | ||
sample_description: string; | ||
statistical_model: string; | ||
study_description: string; | ||
trait: string; | ||
efo_trait: string; | ||
background_trait: string; | ||
background_efo_trait: string; | ||
checksum: string; | ||
summary_statistics_file: string; | ||
raw_sumstats_file: string; | ||
summary_statistics_assembly: string; | ||
readme_file: string; | ||
cohort: string; | ||
cohort_id: string; | ||
// associations: Association[]; | ||
// samples: Sample[]; | ||
// notes: Note[]; | ||
agreedToCc0: boolean; | ||
diseaseTrait: ReportedTrait; | ||
efoTraits: EfoTrait[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { TestBed } from '@angular/core/testing'; | ||
|
||
import { EfoTraitService } from './efo-trait.service'; | ||
|
||
describe('EfoTraitService', () => { | ||
let service: EfoTraitService; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({}); | ||
service = TestBed.inject(EfoTraitService); | ||
}); | ||
|
||
it('should be created', () => { | ||
expect(service).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.