Skip to content

Commit

Permalink
fixing links in image_file and aligned_reads_file
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmeyer committed Jul 17, 2024
1 parent f0c28e6 commit c09bd72
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gdcdictionary/schemas/aligned_reads_file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,9 @@ properties:

read_groups:
$ref: "_definitions.yaml#/to_many"

unaligned_reads_files:
$ref: "_definitions.yaml#/to_many"

core_metadata_collections:
$ref: "_definitions.yaml#/to_many"
16 changes: 16 additions & 0 deletions gdcdictionary/schemas/image_file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ links:
target_type: core_metadata_collection
multiplicity: many_to_one
required: false
- name: datasets
backref: image_files
label: data_from
target_type: dataset
multiplicity: many_to_one
required: false
- name: subjects
backref: image_files
label: data_from
Expand All @@ -49,6 +55,7 @@ links:
multiplicity: many_to_one
required: false


uniqueKeys:
- [id]
- [project_id, submitter_id]
Expand Down Expand Up @@ -121,8 +128,17 @@ properties:
The image file's data release Phase for a particular study.
type: integer

datasets:
$ref: "_definitions.yaml#/to_one"

subjects:
$ref: "_definitions.yaml#/to_one"

imaging_studies:
$ref: "_definitions.yaml#/to_one"

imaging_series:
$ref: "_definitions.yaml#/to_one"

core_metadata_collections:
$ref: "_definitions.yaml#/to_one"

0 comments on commit c09bd72

Please sign in to comment.