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 11 months ago

ChristopherBarrington commented 11 months ago

8

ChristopherBarrington commented 11 months 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 11 months ago