Giter VIP home page Giter VIP logo

ccwl's People

Contributors

arunisaac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ccwl's Issues

`#:default` value is ignored and all arguments are always required

Sorry for creating many issues in short time. I'm willing to make PR if I have enough time.

When #:default is provided as argument on command or workflow, the argument should be optional. However, ccwl requires all arguments is provided even when default value is set.

For example, a scheme script below:

(define print
  (command #:inputs (message #:type string #:default "Hello")
           #:run "echo" message
           #:outputs (printed-message #:type stdout)))

(workflow ()
          (print))

causes error:

Backtrace:
           2 (primitive-load "/home/rocktakey/sandbox/ccwl/aa.scm")
           1 (_ #<procedure 7f9adeb96300 at ice-9/eval.scm:330:13 ()> #<procedure 7f9adeb962e0 at ice-9/eval.scm:336:13 (a b)> #<procedure call-with-valu…>)
In ccwl/ccwl.scm:
   378:10  0 (_ _ _ _)

ccwl/ccwl.scm:378:10: Step `print' missing required parameters `(message)'

Is there any solution for multiple ccwl files?

Hi, thanks for your maintenance. This is pretty better than raw cwl.

I would like to use multiple ccwl files and import command or workflow object to a ccwl file from another ccwl file. Is it possible? Or just cwl-workflowis recommended?

missing `./bootstrap` file

Hi Arun,

In the section Manually from source, one reads:

$ ./bootstrap.sh
$ ./configure; make; make install

but the file bootstrap is not in the repository. Is it on purpose?

Passing a constant value as an argument of command causes error

I would like to use an existing command or workflow with constant argument like:

(define print
  (command #:inputs (message #:type string)
           #:run "echo" message
           #:outputs (printed-message #:type stdout)))

(workflow ()
  (print #:message "Hello"))

but it causes error:

ccwl/ccwl.scm:396:22: ccwl step `print' supplied with unknown key `"Hello"'. Known keys at this step are `()'.

It seems that all values on the command arguments are regarded as symbol which should be corresponding to former output or workflow input.

Is it possible to pass constant value as command argument?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.