ResearchObject / workflow-run-crate

Workflow Run RO-Crate profile
https://www.researchobject.org/workflow-run-crate/
Apache License 2.0
8 stars 9 forks source link

Add position property to steps #20

Closed simleo closed 2 years ago

simleo commented 2 years ago
{
  "@id": "packed.cwl#main/rev",
  "@type": "HowToStep",
  "position": "0",
  "workExample": {"@id": "packed.cwl#revtool.cwl"}
},
{
  "@id": "packed.cwl#main/sorted",
  "@type": "HowToStep",
  "position": "1",
  "workExample": {"@id": "packed.cwl#sorttool.cwl"}
}

Position are assigned according to the topological order of the step graph: if si generates inputs for sk then pi < pk.