Giter Club home page Giter Club logo

Comments (4)

sergpolly avatar sergpolly commented on July 27, 2024

That's because parameter drop_sam in the project.yml is commented, thus it evaluates to null by nextflow, and toBoolean(null) is an error now.

https://github.com/mirnylab/distiller-nf/blob/09a9b41567587384ccb39c76da49f7986f381789/project.yml#L60

All the required parameters are now uncommented in the project.yml by default, and should remain as such.

@golobor this can be closed

from distiller-nf.

golobor avatar golobor commented on July 27, 2024

closing it, but with some extra info:

params['map'].get('drop_sam','false')
uses this get() method: http://docs.groovy-lang.org/docs/groovy-1.7.3/html/groovy-jdk/java/util/Map.html#get(K, V)

the second value is the default value, which is returned when the requested key is missing. Thus, in my understanding, if drop_sam is commented out, it should return 'false', not null.

Also, I commented out drop_sam and did not get any error, which probably implies that the observed error was in old code and is fixed now.

from distiller-nf.

sergpolly avatar sergpolly commented on July 27, 2024

I remember the Travis builds were failing when some of the options were commented in project.yml, with the same error (toBoolean(null)), and uncommenting them were sufficient to fix them.
Some funky docker-related issue maybe?

This could be rediscovered with the next distiller commit, one could comment out drop_sam or something like that, and see if Travis would pass

from distiller-nf.

golobor avatar golobor commented on July 27, 2024

i wouldn't blame docker where it could be our issues :)
anyways, let's see if any similar issue pops up in the future

from distiller-nf.

Related Issues (20)

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.