channel From Path returns null even though file exists #3825
Replies: 3 comments 5 replies
-
You get a null object because you are invoking a method that does not exist. It should be: |
Beta Was this translation helpful? Give feedback.
-
The first letter in Check below for the right syntax (The indentation, spacing, is optional but makes it easier to read so I'm going to use it here): Channel
.fromPath('/cluster/projects/p33/users/gledak/metabolomics/lipids/out/*_permuted*.glm.linear')
.view() It's also important to mention that DSL1 has been deprecated and is no longer supported in recent versions of Nextflow. You should use DSL2 instead. |
Beta Was this translation helpful? Give feedback.
-
I've developed many Nextflow pipelines, and for starting a new pipeline, I'm stuck on this simple aspect:
...returns I'm using Nextflow v24.04.4. What is going on??? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I wanted to create a channel with certain file as below:
But it gives me error:
Cannot invoke method view() on null object
Any help? Attached is the log.
nextflow.log3.txt
Beta Was this translation helpful? Give feedback.
All reactions