diff --git a/workflow/main.nf b/workflow/main.nf
index 64503fbec801e202bd9b4bb7acb459c1f95c0ffa..db15eb3f581596f427cbacd634d05257a9e93255 100644
--- a/workflow/main.nf
+++ b/workflow/main.nf
@@ -386,7 +386,7 @@ process consensusPeaks {
 
 // Define channel to find number of unique experiments
 noUniqueExperiments = Channel
-                      .fromPath(uniqueExperiments)
+                      .from(uniqueExperiments)
                       .readLines()
                       .size()