File: array.yml

package info (click to toggle)
cwl-utils 0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,156 kB
  • sloc: python: 88,920; makefile: 141; javascript: 91
file content (30 lines) | stat: -rw-r--r-- 805 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contains arrays and intra-file type reference

# class: SchemaDefRequirement
# types: ...
# This form does not work with cwltool, even though it can be found here
# https://github.com/NCI-GDC/gdc-dnaseq-cwl/blob/master/tools/readgroup_path.yml
# Notably, that .yml file is never used, so likely they tried it, failed and
# forgot to take it out


  - name: sample_meta2  #duplicate names are not fine across files
    type: record
    fields:
      - name: prop
        type: string

  - name: study_meta
    type: array
    items: sample_meta2

  # Apparently can't declare an array inside an array?
  # - name: study_meta_too
  #   type: array
  #   items: [string, sample_meta2, study_meta]
    
  - name: study_meta_too
    type: record
    fields:
      meta1: sample_meta2
      meta2: study_meta