diff --git a/src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf b/src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf index bcb8b409e..4c702e344 100644 --- a/src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf +++ b/src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf @@ -56,12 +56,6 @@ private List>> _paramsToParamSets(Map params, /* combine arguments into channel */ /**********************************/ - - // Fetch default values for arguments - def defaultArgs = config.allArguments - .findAll { it.containsKey("default") } - .collectEntries { [ it.plainName, it.default ] } - def processedParams = paramSets.indexed().collect{ index, tup -> // Process ID def id = tup[0] ?: globalID @@ -73,7 +67,7 @@ private List>> _paramsToParamSets(Map params, assert id != null: "Each parameter set should have at least an 'id'" // Process params - def parValues = defaultArgs + globalParams + tup[1] + def parValues = globalParams + tup[1] // // Remove parameters which are null, if the default is also null // parValues = parValues.collectEntries{paramName, paramValue -> // parameterSettings = config.functionality.allArguments.find({it.plainName == paramName})