Unexpected input during declaring channel from file pairs #3783
-
Hi, I was declaring channel from file pairs and getting error The res of the code in the log file is commented out using |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Looks like a Groovy syntax error. Can you post the script that you ran? |
Beta Was this translation helpful? Give feedback.
-
Thank you @bentsherman |
Beta Was this translation helpful? Give feedback.
-
I copied your script into VS Code with Groovy highlighting, it looks like the Channel.fromFilePairs("${params.out}*/*chunk*csv* ... Is interpreted as a comment closer. I think it is a limitation of the Groovy parser. I would remove the commented code or disable it in a different way. For example, in VS Code you can highlight many lines and do Ctrl+/ to comment them out with line comments. |
Beta Was this translation helpful? Give feedback.
-
Alternatively, you might be able to escape the |
Beta Was this translation helpful? Give feedback.
-
Thank you. It works now! |
Beta Was this translation helpful? Give feedback.
I copied your script into VS Code with Groovy highlighting, it looks like the
*/
on this line:Is interpreted as a comment closer. I think it is a limitation of the Groovy parser. I would remove the commented code or disable it in a different way. For example, in VS Code you can highlight many lines and do Ctrl+/ to comment them out with line comments.