Hello there, any solutions to the Java date functi...
# crisprseq
l
Hello there, any solutions to the Java date function error? I'm using the latest version of nextflow, I see that the error is on row 256 of
nextflow.config
. I was thinking about fixing it by myself by adding it to params but before I wanted to ask you if there was already an updated version of the pipeline. Thanks!
Copy code
Pulling nf-core/crisprseq:2.3.0 ...
WARN: Cannot read project manifest -- Cause:  Config parsing failed
 downloaded from <https://github.com/nf-core/crisprseq.git>
Error nextflow.config:256:1: Variable declarations cannot be mixed with config statements
│ 256 | def trace_timestamp = new java.util.Date().format( 'yyyy-MM-dd_HH-mm-s
╰     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


ERROR ~ Config parsing failed
m
that's an issue with the stricter syntax in nextflow 26.04 This pipeline hasn't been updated to be compatible for this version yet, so the easiest solution is to use an older nextflow version, e.g.
NXF_VER=25.10.4 nextflow run nf-core/crispreq
etc