Comments (2)
Also, there is a public method addStepFromProcess
, however, I have no clues on how to use it. Would it be possible to have some advice about adding steps to an existing workflow?
Ultimately, what we would like to have is a step description in json. Then we create a step model or a process from it, then we add it to a workflow model. Do you think it is doable with the current API? If not, any plan to make it happen?
from cwl-ts.
Thx Renaud and Ivan.
I was able to add a step with
var run = {"cwlVersion":"sbg:draft-2", ...};
workflow.model.addStepFromProcess(run);
variable run contains what should be in "run" field of each step of the workflow
from cwl-ts.
Related Issues (20)
- Validation for Command Line Tools
- Validation for Workflows
- Implement reference resolution
- Command line generation HOT 1
- CWL v1.0
- Package only compiled .js and .d.ts files in node module HOT 1
- V1.0 schemas do not support arrays as maps HOT 1
- Add timeout on js execution
- Generate command line for v1.0 tools
- use schema.org for license, copyright holder
- Construct a graph from a document containing an array of workflows HOT 1
- Example creating workflow programmatically HOT 6
- serialize to array of array instead of array
- Error: Can't resolve 'vm'
- build package leads to typescript compiler error HOT 2
- Missing dependency in npm package HOT 1
- Prevent cwl-ts from deleting requirements HOT 1
- Problem with valueFrom field
- Question: does it support v1.2.0-dev4 or v1.2.0 version? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cwl-ts.