Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
balis authored Nov 22, 2018
1 parent b6b4c07 commit 81d2a49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions converters/pegasus_dax.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Hypermedia workflow.
/* HyperFlow engine.
** Converts from pegasus dax file to hyperflow workflow representation (json)
** Author: Bartosz Balis (2013-2018)
*/
Expand Down Expand Up @@ -154,7 +154,8 @@ function createWorkflow(dax, functionName, cb) {
for (var i=0; i<wfOut.data.length; ++i) {
if (wfOut.data[i].sources.length == 0) {
wfOut.ins.push(i);
wfOut.data[i].data = [{ }]; // uncomment to send initial signals to the workflow
// the line below sends initial signals to the workflow. FIXME: add a cmd line option
wfOut.data[i].data = [{ }];
}
if (wfOut.data[i].sinks.length == 0) {
wfOut.outs.push(i);
Expand Down

0 comments on commit 81d2a49

Please sign in to comment.