Class: Etna::Cwl::Step
Constant Summary
collapse
- FIELD_LOADERS =
{
id: PrimitiveLoader::STRING.optional,
label: PrimitiveLoader::STRING.optional,
doc: PrimitiveLoader::STRING.optional,
in: StepInput.loader.as_mapped_array('id', 'source'),
out: StepOutput.loader.or(PrimitiveLoader::STRING.map { |id| StepOutput.loader.load({'id' => id}) }).as_array,
requirements: NeverLoader::UNSUPPORTED,
hints: NeverLoader::UNSUPPORTED,
run: PrimitiveLoader::STRING.map { |id| Operation.loader.load({'id' => id, 'class' => 'Operation', 'inputs' => [], 'outputs' => []}) }.or(Operation.loader),
when: NeverLoader::UNSUPPORTED,
scatter: NeverLoader::UNSUPPORTED,
scatterMethod: NeverLoader::UNSUPPORTED,
}
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
#id ⇒ Object
656
657
658
|
# File 'lib/etna/cwl.rb', line 656
def id
@attributes['id']
end
|
#in ⇒ Object
660
661
662
|
# File 'lib/etna/cwl.rb', line 660
def in
@attributes['in']
end
|
#out ⇒ Object
664
665
666
|
# File 'lib/etna/cwl.rb', line 664
def out
@attributes['out']
end
|