aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-05vectors: Add vector-filter-map->list.Arun Isaac
* ravanan/vectors.scm: Import (srfi srfi-1). (vector-filter-map->list): New public function.
2024-09-05workflow: Refactor workflow output capture into separate function.Arun Isaac
* ravanan/workflow.scm (run-workflow)[capture-output]: New function. Use capture-output.
2024-09-05command-line-tool: Remove mutual recursion in collect-bindings.Arun Isaac
* ravanan/command-line-tool.scm (build-command)[input+type-tree+binding->command-line-binding]: Remove mutual recursion with collect-bindings.
2024-09-05command-line-tool: Require glob only for File and Directory types.Arun Isaac
* ravanan/command-line-tool.scm (build-command-line-tool-script)[output-binding-glob]: Require glob only for File and Directory types.
2024-09-05command-line-tool: Refactor glob extraction into separate function.Arun Isaac
* ravanan/command-line-tool.scm (build-command-line-tool-script)[output-binding-glob]: New function. [capture-outputs-gexp]: Use output-binding-glob.
2024-09-05workflow: Check requirements and hints.Arun Isaac
* ravanan/workflow.scm (workflow->propagators): Check requirements and hints.
2024-09-05command-line-tool: Emit newline after warning.Arun Isaac
* ravanan/command-line-tool.scm (warning): Emit newline.
2024-09-05command-line-tool: Report ID of input whose type is not specified.Arun Isaac
* ravanan/command-line-tool.scm (collect-input-files): Report ID of input whose type is not specified.
2024-09-05command-line-tool: Disambiguate error from raise-error.Arun Isaac
error reports an error to the user. raise-error raises an exception and is meant for programmers. * ravanan/command-line-tool.scm: Import error from (rnrs base) as raise-error. (build-command, collect-input-files, resolve-inputs, build-command-line-tool-script): Use raise-error instead of error.
2024-09-05workflow: Support merging vectors element-wise.Arun Isaac
* ravanan/workflow.scm (maybe-vector?): New function. (merge-values): Support merging vectors element-wise.
2024-09-05command-line-tool: Match type to "stdout" using equal?.Arun Isaac
Matching using string=? errors out when the type is not a string (for example, an array type). * ravanan/command-line-tool.scm (build-command-line-tool-script)[stdout-filename, capture-outputs-gexp]: Match type to "stdout" using equal?.
2024-09-03command-line-tool: Import guile-gcrypt as an extension.Arun Isaac
* ravanan/command-line-tool.scm (build-command-line-tool-script): Use with-extensions, not with-imported-modules, to import guile-gcrypt.
2024-09-03command-line-tool: Pass workflow-output-directory to path->value.Arun Isaac
* ravanan/command-line-tool.scm (build-command-line-tool-script)[other-output->value]: Accept workflow-output-directory argument; pass it to path->value. [capture-outputs-gexp]: Pass workflow-output-directory to other-output->value.
2024-08-24propnet: Enqueue propagators to an inbox before scheduling them.Arun Isaac
* ravanan/propnet.scm (run-propnet): Enqueue propagators to an intermediate inbox before scheduling them.
2024-08-24workflow: Retrieve outputs differently based on workflow class.Arun Isaac
* ravanan/workflow.scm (run-workflow): Retrieve outputs differently based on whether the workflow is a CommandLineTool class or a Workflow class.
2024-08-24command-line-tool: Report progress verbosely.Arun Isaac
* ravanan/command-line-tool.scm (run-command-line-tool, command-line-tool-scheduler): Report progress verbosely, and print out paths to log files.
2024-08-22bin: Add --help flag.Arun Isaac
* bin/ravanan (print-usage): New function. (main): Use print-usage.
2024-08-22bin: Remove unused invoke function.Arun Isaac
* bin/ravanan (invoke): Delete function.
2024-08-22reader: Read files in other directories correctly.Arun Isaac
* ravanan/reader.scm (read-workflow, read-inputs): Read the basename of the full file path.
2024-08-22Make repository a Guix channel.Arun Isaac
* .guix-authorizations, .guix-channel: New files.
2024-08-22Add gitignore.Arun Isaac
* .gitignore: New file.
2024-08-22Uncommit binary files.Arun Isaac
These binary guile object files were committed accidentally in the initial commit. * ravanan/command-line-tool.go, ravanan/config.go, ravanan/glob.go, ravanan/monads.go, ravanan/propnet.go, ravanan/reader.go, ravanan/slurm-api.go, ravanan/utils.go, ravanan/vectors.go, ravanan/work/command-line-tool.go, ravanan/work/types.go, ravanan/work/utils.go, ravanan/workflow.go: Delete files.
2024-08-20Initial commitArun Isaac