Age | Commit message (Collapse) | Author |
|
* ccwl/ccwl.scm (<key>): New type.
(key, cwl-key-address): New functions.
|
|
* ccwl/ccwl.scm (make-workflow): Accept inputs explicitly.
|
|
* ccwl/ccwl.scm (input=?): Compare using eq? instead of string=?.
(command->cwl, write-cwl): Convert input-id to string before
appending.
|
|
* ccwl/ccwl.scm (command): Make stdin a unary key.
|
|
Doing this conversion effectively forbids kebab case symbols in YAML.
* ccwl/yaml.scm (kebab->camel): Delete function.
(display-atom): Do not convert symbols from kebab case to camel case.
* ccwl/ccwl.scm (make-workflow, output->cwl, command->cwl): Write
camel case explicitly.
|
|
* ccwl/utils.scm (mapn, append-mapn, foldn): New public functions.
|
|
Scheme code is more readable than arcane bash.
* pre-inst-env.in: Rewrite in scheme.
|
|
* ccwl/ccwl.scm (pipeline): Delete function.
|
|
* ccwl/yaml.scm (display-atom): Escape asterisk characters.
* tests/yaml.scm ("strings with asterisk characters should be
escaped"): New test.
|
|
* tests/yaml.scm ("strings with hyphen characters should be escaped"):
New test.
|
|
* .gitignore: New file.
|
|
* build-aux/test-driver.scm.in: New file.
* configure.ac: Generate build-aux/test-driver.scm.
* Makefile.am (TEST_EXTENSIONS): Add .scm.
(SCM_TESTS): Add tests/ccwl.scm and tests/yaml.scm.
(TESTS): Set to SCM_TESTS.
(EXTRA_DIST): Distribute test files.
|
|
* tests/ccwl.scm (break-pair): Delete function.
("break-pair", "break-pair: check last elemet handling"): Delete
tests.
|
|
* guix.scm: New file.
|
|
* configure.ac: Generate scripts/ccwl.
* scripts/ccwl: Rename to ...
* scripts/ccwl.in: ... this. Set path to guile in shebang as an
autoconf substitution.
|
|
* Makefile.am, bootstrap.sh, configure.ac, pre-inst-env.in: New files.
|
|
* scripts/ccwl: New file.
|
|
* ccwl/ccwl.scm (command): Redefine using lambda**.
|
|
* ccwl/ccwl.scm: Import (ccwl utils).
(command): Return <command> object.
(auto-connect): Delete function.
(invoke-command, make-workflow, workflow-steps): New functions.
(workflow): Replace function with macro.
|
|
* ccwl/ccwl.scm (<output>): Add functional setter set-output-source
for source field.
* .dir-locals.el (scheme-mode): Specify indentation for
set-output-source.
|
|
* ccwl/utils.scm (pairify, plist->alist): New public functions.
|
|
Version 1.2 of the CWL specification is required to support
conditional steps.
* ccwl/ccwl.scm (%cwl-version): Set to "v1.2".
|
|
* tests/ccwl.scm, tests/yaml.scm: Add copyright section.
|
|
* ccwl/ccwl.scm, ccwl/utils.scm, ccwl/yaml.scm: Expand name Arun I to
Arun Isaac.
|
|
* ccwl/ccwl.scm, ccwl/utils.scm, ccwl/yaml.scm: Add copyright and
commentary sections.
|
|
* .dir-locals.el: New file.
|
|
* ccwl/utils.scm: Export lambda** instead of group-arguments.
(group-arguments): Delete function.
(lambda**): New macro.
|
|
* ccwl/utils.scm (group-keyword-arguments): Make unary-keywords
optional.
|
|
* ccwl/utils.scm: Import (srfi srfi-26).
(plist-ref): New function.
|
|
* ccwl/utils.scm: New file.
|
|
* README.org: New file.
|
|
* COPYING: New file.
|
|
* ccwl/ccwl.scm (command->cwl): List additional-inputs in inputs
array.
|
|
* ccwl/ccwl.scm (<command>): Add additional-inputs field.
(command): Initialize additional-inputs field.
|
|
<input> objects need to be expanded into CWL in context sensitive
ways. There is no simple generalization.
* ccwl/ccwl.scm (input->tree): Delete function.
(workflow): Expand input->tree.
|
|
* ccwl/ccwl.scm (<command>): Delete input field.
(command): Do not set inputs field.
|
|
* ccwl/ccwl.scm (write-cwl): Invoke command->cwl if step encloses
<command> object.
|
|
* ccwl/ccwl.scm (<cli-element>): New type.
(command->cwl): Put string and expression arguments into the arguments
array. Put <input> arguments into the inputs array.
|
|
* ccwl/ccwl.scm (filter-alist): New function.
(input->tree): Use filter-alist.
|
|
* ccwl/ccwl.scm (pipeline): Set the stdout of the last command to be
the default output of the pipeline.
|
|
* ccwl/ccwl.scm (%cwl-version): New variable.
(workflow, command->cwl): Use %cwl-version.
|
|
* ccwl/ccwl.scm (<input>): Add prefix field.
(input): Initialize prefix field.
(input-with-prefix): New public function.
|
|
* ccwl/ccwl.scm (append-command-inputs): Delete function.
|
|
* ccwl/ccwl.scm (output): Set default type to File.
|
|
* 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.
|