Age | Commit message (Expand) | Author |
2022-01-16 | tests: Use @@ instead of module-ref and resolve-module.•••@@ is shorter and looks neater with fewer quotes.
* tests/ccwl.scm ("stdin input should not have inputBinding"),
tests/utils.scm ("unsyntax-keywords"): Use @@ instead of module-ref
and resolve-module.
| Arun Isaac |
2021-11-02 | ccwl: Support external CWL workflows.•••* ccwl/ccwl.scm: Import (yaml). Export cwl-workflow?, cwl-workflow,
cwl-workflow-file, cwl-workflow-inputs and cwl-workflow-outputs.
(<cwl-workflow>): New type.
(cwl-workflow, function-input-keys, function-outputs,
function-object): New functions.
(command-input-keys, command-object): Delete functions.
(collect-steps): Replace command-object with function-object,
command-input-keys with function-input-keys and command-outputs with
function-outputs.
* ccwl/cwl.scm (workflow->cwl-scm): Handle <cwl-workflow> objects.
* tests/ccwl.scm ("read all forms of inputs and outputs from a CWL
workflow"): New test.
* guix.scm: Import (gnu packages guile-xyz) and (guix utils).
(guile-libyaml): New variable.
(ccwl)[inputs]: Add guile-libyaml.
| Arun Isaac |
2021-10-12 | tests: Fix quoting of type.•••* tests/ccwl.scm ("stdin input should not have inputBinding"): Fix
quoting of type File.
| Arun Isaac |
2021-10-11 | ccwl: Factorize out CWL generation code to separate file.•••This factorization is required to support other compilation targets
such as graphviz, bash, scheme, etc.
* ccwl/cwl.scm: New file.
* Makefile.am (SOURCES): Register it.
* ccwl/ccwl.scm (ccwl): Export command?, command-inputs,
command-outputs, command-args, command-stdin, command-other,
workflow?, workflow-steps, workflow-inputs, workflow-outputs,
workflow-other, input?, input-id, input-type, input-label,
input-default, input-position, input-prefix, input-other, output?,
output-id, output-type, output-binding, output-source, output-other,
step?, step-id, step-run, step-in, step-out, unspecified-default?.
(<workflow>): New type.
(filter-alist): Move to cwl.scm.
(make-workflow): Refactor into workflow->cwl-scm in cwl.scm.
(output->cwl): Move to cwl.scm as output->cwl-scm.
(command->cwl): Move to cwl.scm as command->cwl-scm.
(workflow-steps): Rename to collect-steps. Clarify docstring.
(workflow): Use collect-steps instead of workflow-steps. Explicitly
pass empty list as other argument of make-workflow. Add TODO note to
implement it properly.
* scripts/ccwl.in: Import (ccwl cwl) instead of (ccwl yaml). Use
workflow->cwl instead of scm->yaml.
* tests/ccwl.scm ("stdin input should not have inputBinding"): Use
command->cwl-scm from (ccwl cwl) instead of command->cwl from (ccwl
ccwl).
| Arun Isaac |
2021-07-19 | tests: Fix indentation.•••* tests/ccwl.scm ("stdin input should not have inputBinding"): Fix
indentation.
| Arun Isaac |
2021-07-02 | tests: Ensure stdin input has no inputBinding.•••* tests/ccwl.scm: Import (ccwl ccwl)
("stdin input should not have inputBinding"): New test.
| Arun Isaac |
2021-07-02 | tests: Remove unnecessary import.•••* tests/ccwl.scm: Do not import (srfi srfi-71).
| Arun Isaac |
2021-04-26 | Remove deprecated break-pair tests.•••* tests/ccwl.scm (break-pair): Delete function.
("break-pair", "break-pair: check last elemet handling"): Delete
tests.
| Arun Isaac |
2021-04-17 | Add copyright section to test files.•••* tests/ccwl.scm, tests/yaml.scm: Add copyright section.
| Arun Isaac |
2021-02-27 | Add break-pair utility.•••* 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.
| Arun Isaac |