File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
modules/nextflow/src/main/groovy/nextflow/script Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -174,22 +174,6 @@ abstract class BaseScript extends Script implements ExecutionContext {
174174 if ( ! entryFlow ) {
175175 if ( meta. getLocalWorkflowNames() )
176176 throw new AbortOperationException (" No entry workflow specified" )
177- if ( meta. getLocalProcessNames() ) {
178- final msg = """ \
179- =============================================================================
180- = WARNING =
181- = You are running this script using DSL2 syntax, however it does not =
182- = contain any 'workflow' definition so there's nothing for Nextflow to run. =
183- = =
184- = If this script was written using Nextflow DSL1 syntax, please add the =
185- = setting 'nextflow.enable.dsl=1' to the nextflow.config file or use the =
186- = command-line option '-dsl1' when running the pipeline. =
187- = =
188- = More details at this link: https://www.nextflow.io/docs/latest/dsl2.html =
189- =============================================================================
190- """ . stripIndent(true )
191- throw new AbortOperationException (msg)
192- }
193177 return result
194178 }
195179
You can’t perform that action at this time.
0 commit comments