Class: Etna::Cwl::Workflow

Inherits:
Etna::Cwl show all
Defined in:
lib/etna/cwl.rb

Constant Summary collapse

FIELD_LOADERS =
{
    id: PrimitiveLoader::STRING.optional,
    label: PrimitiveLoader::STRING.optional,
    doc: PrimitiveLoader::STRING.optional,
    requirements: NeverLoader::UNSUPPORTED,
    hints: NeverLoader::UNSUPPORTED,
    intent: NeverLoader::UNSUPPORTED,
    class: EnumLoader.new("Workflow"),
    cwlVersion: EnumLoader.new("v1.0", "v1.1", "v1.2"),
    inputs: WorkflowInputParameter.loader.as_mapped_array('id', 'type'),
    outputs: WorkflowOutputParameter.loader.as_mapped_array('id', 'type'),
    steps: Step.loader.as_mapped_array('id', 'source')
}

Instance Method Summary collapse

Methods inherited from Etna::Cwl

#as_json, as_json, #initialize, load_item, loader

Constructor Details

This class inherits a constructor from Etna::Cwl

Instance Method Details

#inputsObject



696
697
698
# File 'lib/etna/cwl.rb', line 696

def inputs
  @attributes['inputs']
end

#outputsObject



700
701
702
# File 'lib/etna/cwl.rb', line 700

def outputs
  @attributes['outputs']
end

#stepsObject



704
705
706
# File 'lib/etna/cwl.rb', line 704

def steps
  @attributes['steps']
end