Skip to content

Unable to parse config file

Issue

Unable to parse config file: 'nextflow.config'

Compile failed for sources FixedSetSources[name='/groovy/script/Script7452FB2E4729BDF4899A4D4633CAE72A']. Cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/groovy/script/Script7452FB2E4729BDF4899A4D4633CAE72A: 432: Unexpected input: '{' @ line 432, column 8.
    process{
           ^

Possible source

Syntax error in modules.config, such as:

  1. Missing comma in publishDir
  2. Additional = after ext.<> directive
  3. Missing { or } somewhere

Mentioned line numbers OR mentioned sign are not indicative of where to search for the error, i.e., in the above example the actual problem was a duplicated =.