From 6947073013088e0df7ae8b826aafa8cdc0bbf61c Mon Sep 17 00:00:00 2001
From: Mia Croiset <mia.croiset@ens-lyon.fr>
Date: Wed, 15 Nov 2023 11:25:45 +0100
Subject: [PATCH] cleaning param validation new step

---
 lib/WorkflowHic.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/WorkflowHic.groovy b/lib/WorkflowHic.groovy
index 74b621b..ace43de 100755
--- a/lib/WorkflowHic.groovy
+++ b/lib/WorkflowHic.groovy
@@ -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!')
         }
-- 
GitLab