Age | Commit message (Collapse) | Author |
|
* ccwl/ccwl.scm (input): Set default type to File.
|
|
* ccwl/ccwl.scm: Import (srfi srfi-26) and (ccwl yaml).
(write-cwl): New public function.
|
|
* ccwl/ccwl.scm (<input>): Remove field binding from constructor.
|
|
* ccwl/yaml.scm (display-atom): Escape string if it contains the
hyphen character.
|
|
* ccwl/ccwl.scm (auto-connect): New function.
(workflow): Auto-connect step inputs and outputs before generating
<step> record.
|
|
* ccwl/ccwl.scm (%stdin, %stdout): New variables.
(pipeline): New function.
|
|
All user exposed functions should output a <step> record so that they
are composable.
* ccwl/ccwl.scm (workflow): Rewrite workflow function to output a
<step> record.
|
|
* ccwl/ccwl.scm (input=?): New function.
|
|
* ccwl/ccwl.scm (<input>): Add source field.
(input): Initialize source field to #f in constructor.
|
|
* ccwl/ccwl.scm (clitool, clitool-step): Delete functions.
|
|
* ccwl/ccwl.scm (output->cwl, command->cwl): New functions.
|
|
* ccwl/ccwl.scm (modify-step-run): New function.
|
|
* ccwl/ccwl.scm (field-appender, append-step-in, append-step-out,
append-command-inputs, append-command-outputs): New functions.
|
|
* ccwl/ccwl.scm (<command>): New type.
(command): New function.
|
|
We will not auto-parse commands and try to associate a binding to
inputs. If we specify the command using the arguments field of the CWL
specification, we don't need to know the base command or the bindings.
* ccwl/ccwl.scm: Do not import (srfi srfi-71).
(parse-arguments, break-pair, parse-command): Delete functions.
|
|
We will auto-connect inputs and outputs by matching their unique
identifiers.
* ccwl/ccwl.scm (<intermediate>): Delete type.
|
|
* ccwl/ccwl.scm (<input>): Re-order <input> fields to be consistent
with its constructor.
|
|
The user should not have to distinguish between regular outputs and
workflow outputs.
* ccwl/ccwl.scm (<output>): Add source field.
(output): Add source field to constructor.
(<workflow-output>): Delete type.
(workflow-output): Delete function.
|
|
Functional setters from (srfi srfi-9 gnu) are very useful.
* ccwl/ccwl.scm (<input>, unspecified-default, <output>,
<intermediate>, <workflow-output>, <step>): Redefine using SRFI-9
records.
|
|
* ccwl/ccwl.scm (parse-command): Rewrite using break-pair.
|
|
* ccwl/ccwl.scm (break-pair): New function.
* tests/ccwl.scm: New file.
* tests/ccwl.scm ("break-pair", "break-pair: check last elemet
handling"): New test cases.
|
|
* ccwl/yaml.scm (display-dictionary-entry): If value is an empty array
or dictionary, display it on the same line.
(scm->yaml): Go to next line after printing empty array.
* tests/yaml.scm: New file.
* tests/yaml.scm ("dictionary entries with empty arrays and
dictionaries for values must render on the same line"): New test case.
|
|
* ccwl/yaml.scm (scm->yaml-string): New function.
|
|
ccwl stands for Concise Common Workflow Language.
* generate-cwl/ccwl.scm: Move to ccwl/ccwl.scm.
* generate-cwl/yaml.scm: Move to ccwl/yaml.scm.
|
|
* generate-cwl/generate-cwl.scm: Export intermediate and clitool-step.
(<intermediate>): New type.
(clitool-step): New function.
(workflow): Pull out inputs and intermediate put into <step> objects
by clitool-step.
|
|
|