Age | Commit message (Collapse) | Author |
|
* ravanan/command-line-tool.scm (build-command-line-tool-script): Move
to ...
* ravanan/work/command-line-tool.scm (secondary-path): ... here.
|
|
* ravanan/command-line-tool.scm (build-command-line-tool-script): Pass
secondary-file, not pattern, to secondary-path.
|
|
* ravanan/command-line-tool.scm (build-command-line-tool-script):
Stage secondary files too.
|
|
* ravanan/reader.scm (normalize-input): Use canonicalize-file-value.
|
|
* ravanan/work/command-line-tool.scm (canonicalize-file-value):
Comment on trusting the checksum.
|
|
* ravanan/work/command-line-tool.scm (canonicalize-file-value):
Canonicalize secondary files too.
|
|
* ravanan/work/command-line-tool.scm (canonicalize-file-value): Handle
absent path and location correctly.
|
|
* ravanan/reader.scm (location->path): Move to ...
* ravanan/work/command-line-tool.scm (location->path): ... here.
|
|
* ravanan/command-line-tool.scm (build-command-line-tool-script): Move
canonicalize-file-value to ...
* ravanan/work/command-line-tool.scm (canonicalize-file-value): ...
here.
|
|
*
ravanan/command-line-tool.scm (build-command-line-tool-script)[secondary-path]:
New function.
[capture-secondary-file]: Use secondary-path.
|
|
*
ravanan/command-line-tool.scm (build-command-line-tool-script)[stage-file]:
New function.
[stage-files]: Use stage-file.
|
|
* ravanan/store.scm: Import (srfi srfi-26) and (ravanan work vectors).
(intern-file): Intern secondary files.
(%store-hash-length): New variable.
(store-item-name): New public function.
* ravanan/workflow.scm (resolve-inputs)[match-secondary-file-pattern]:
Strip store hashes before matching secondary file patterns.
|
|
* .dir-locals.el (scheme-mode): Indent call-with-atomic-output-file
correctly.
|
|
* tests/reader.scm ("Normalize array of File arrays type formal
output"): Replace normalize-formal-input with normalize-formal-output.
|
|
* tests/reader.scm: Import (ice-9 filesystem), (web uri), (ravanan
work command-line-tool) and (ravanan work utils).
(normalize-input): New variable.
("Normalize inputs with only location", "Normalize inputs with only
path"): New tests.
|
|
It is the reader's job to completely canonicalize File type inputs.
This should not be done later when the workflow is executing.
* ravanan/reader.scm: Import (web uri).
(normalize-formal-input): Normalize default value.
(location->path): New function.
(normalize-input): Canonicalize File type input completely.
* ravanan/workflow.scm (workflow-scheduler): Update comment about
partially specified File objects.
(location->path): Delete function.
(resolve-inputs): Do not canonicalize File type inputs; they already
are.
|
|
Separate functions are easier to test.
* ravanan/reader.scm (read-inputs): Spin off input normalization into
...
(normalize-input): ... new function.
|
|
* README.md (Contributing): New section.
|
|
* ravanan/command-line-tool.scm (software-packages->environment): Pass
package versions as separate argument to lookup-inferior-packages.
|
|
* ravanan/command-line-tool.scm (specifications->environment): Rename
to software-packages->environment.
(software-packages->environment): Accept vector of SoftwarePackage
association lists.
(build-command-line-tool-script): Move into
software-packages->environment. Pass vector of SoftwarePackage
association lists to software-packages->environment.
|
|
* .guix/ravanan-package.scm: Do no import (gnu packages
package-management), (gnu packages gnupg), (gnu packages guile), (gnu
packages guile-xyz), (gnu packages node), (guix build-system
gnu), (guix licenses) and (guix profiles). Import ravanan from (gnu
packages bioinformatics) with a guix: prefix.
* .guix/ravanan-package.scm (ravanan): Inherit from guix:ravanan.
|
|
This reverts commit 17b88bd2ca1411fbf2799e0e194d7052c059a36b.
(ravanan command-line-tool) is required for manifest-file-error?.
|
|
* README.md: Mention use of caching for developing workflows.
|
|
We crop the image to remove Siva and Parvathi.
* images/ravanan-king-of-lanka.jpg: Crop.
|
|
* releases/ravanan-0.1.0.tar.lz, releases/ravanan-0.1.0.tar.lz.asc:
New files.
|
|
* bin/ravanan (print-usage): Add newline at the end.
|
|
* Makefile (GIT, GPG, LZIP, config_file_template, distribute_files,
dist_archive): New variables.
(dist, distsign, $(dist_archive), %.asc): New rules.
|
|
config.scm is a generated source file. Treat it the same as a
hand-written source file creates problems when generating release
tarballs.
* Makefile (sources): Remove $(config_file).
(objects): Add $(config_file:.scm=.go).
(install): Depend on $(config_file) and install it.
|
|
* README.md: Add table of contents.
|
|
* README.md: Add image of Ravanan.
(License): Mention license and attribution for image.
* images/ravanan-king-of-lanka.jpg, images/LICENSE.md: New files.
|
|
* README.md (Building from source): Change "do" to "do so".
|
|
* README.md: Restructure introduction.
|
|
* README.md (Building from source): New section.
|
|
* README.md (How to use): Fill out section.
* doc/hello-world-inputs.json, doc/hello-world.cwl: New files.
|
|
* bin/ravanan: Import (ravanan store).
(main): Create store directory when it does not exist.
* ravanan/store.scm (make-store): New public function.
|
|
* ravanan/store.scm: Import (ravanan work command-line-tool)
and (ravanan work monads).
* ravanan/workflow.scm (same-filesystem?, intern-file): Move
to (ravanan store).
|
|
* bin/ravanan: Do not import (ravanan command-line-tool).
|
|
* ravanan/command-line-tool.scm: Import (ravanan store).
(%store-files-directory, %store-data-directory, %store-logs-directory,
script->store-files-directory, script->store-data-file,
script->store-stdout-file, script->store-stderr-file): Move to ...
* ravanan/store.scm: ... new file.
* ravanan/workflow.scm (ravanan): Import (ravanan store).
|
|
* ravanan/slurm-api.scm: Import assertion-violation from (rnrs base).
(slurm-state-codes->job-state): New function.
(job-state): Use slurm-state-codes->job-state.
* tests/slurm-api.scm: New file.
|
|
* ravanan/workflow.scm (same-filesystem?): New function.
(intern-file): Hard link files if on the same filesystem. Else, copy.
|
|
* ravanan/slurm-api.scm (job-state): Handle failed state.
|
|
The job states returned by the slurm API are not the same as that
expected by ravanan code.
* ravanan/slurm-api.scm (job-state): Translate PENDING and RUNNING to
pending state. Translate SUCCESS to completed state.
|
|
Prior to this, job-state could still return a value if there were no
errors described in the JSON. This is quite unlikely, but in the
interest of rigour…
* ravanan/slurm-api.scm (job-state): Error out when all options have
been exhausted.
|
|
* ravanan/slurm-api.scm: Import (ravanan verbosity).
(submit-job, job-state): Add traces.
* bin/ravanan (%options): Support slurm-api in --trace option.
(print-usage): Document it.
|
|
* ravanan/verbosity.scm: New file.
* bin/ravanan: Import (ravanan verbosity).
(%options): Add trace.
(print-usage): Document it.
(main): Set default value of traces. Parameterize %traces when running
workflow.
|
|
* ravanan/work/command-line-tool.scm (object-type, match-type):
Support float and double types.
* ravanan/command-line-tool.scm (command-line-binding->args): Handle
float arguments.
|
|
We need (ravanan work types) for array-type?.
* ravanan/command-line-tool.scm (build-command-line-tool-script):
Import (ravanan work types) into the job script.
|
|
* ravanan/command-line-tool.scm (command-line-binding->args): Handle
G-exp args when joining with item separator.
|
|
Since our scheduler is now state-monadic, the exception handler must
guard the context in which the monad is actually run.
* ravanan/workflow.scm (workflow-scheduler): Move exception handler to
...
(run-workflow): ... here.
|
|
* ravanan/slurm-api.scm (job-state): Bind return value of
slurm-http-get in the state monad.
|