Skip to content
Snippets Groups Projects
Verified Commit 69470730 authored by Mia Croiset's avatar Mia Croiset
Browse files

cleaning param validation new step

parent 3331539b
Branches
No related tags found
No related merge requests found
......@@ -92,7 +92,8 @@ class WorkflowHic {
// Check the params 'list of Integer' or Integer (ex bin_size)
public static void checkParamIntList(def param2check, log) {
if (param2check !instanceof Integer && !(param2check instanceof String && param2check ==~ /(\d+)(,\d+)*/)){ println "\n"
if (param2check !instanceof Integer && !(param2check instanceof String && param2check ==~ /(\d+)(,\d+)*/)){
println "\n"
log.error "ERROR: ${param2check} must be integer or list of integer"
Nextflow.error('Exiting!')
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment