ChristopherBarrington / scamp

single cell analysis and more pipeline
https://christopherbarrington.github.io/scamp/
0 stars 0 forks source link

check parameter values #103

Closed ChristopherBarrington closed 1 year ago

ChristopherBarrington commented 1 year ago

8

ChristopherBarrington commented 1 year ago
.collect{it + ['feature identifiers': get_default_value(it, 'feature identifiers', 'name')]}
def get_default_value(map, key, default_value) {
    map.get(key, default_value) ?: default_value
}
ChristopherBarrington commented 1 year ago