diff --git a/src/api.v2/helpers/pipeline/pipelineConstruct/index.js b/src/api.v2/helpers/pipeline/pipelineConstruct/index.js index 8c82c2800..c84c7d5a0 100644 --- a/src/api.v2/helpers/pipeline/pipelineConstruct/index.js +++ b/src/api.v2/helpers/pipeline/pipelineConstruct/index.js @@ -198,7 +198,7 @@ const createQCPipeline = async (experimentId, processingConfigUpdates, authJWT) return; } - _.merge(processingConfig[name], body); + _.assign(processingConfig[name], body); }); } diff --git a/tests/api.v2/helpers/pipeline/pipelineConstruct.test.js b/tests/api.v2/helpers/pipeline/pipelineConstruct.test.js index d8d8794be..440572d43 100644 --- a/tests/api.v2/helpers/pipeline/pipelineConstruct.test.js +++ b/tests/api.v2/helpers/pipeline/pipelineConstruct.test.js @@ -68,6 +68,9 @@ describe('test for pipeline services', () => { name: 'doubletScores', body: { oneSample: { + defaultFilterSettings: { + oneSetting: 1, + }, filterSettings: { oneSetting: 7, },