|  | 
| 8 | 8 | ======================================================================================== | 
| 9 | 9 | */ | 
| 10 | 10 | 
 | 
| 11 |  | -include { completionEmail       } from '../../nf-core/utils_nfcore_pipeline' | 
| 12 |  | -include { completionSummary     } from '../../nf-core/utils_nfcore_pipeline' | 
| 13 |  | -include { imNotification        } from '../../nf-core/utils_nfcore_pipeline' | 
| 14 |  | -include { paramsSummaryMap      } from 'plugin/nf-schema' | 
| 15 |  | -include { samplesheetToList     } from 'plugin/nf-schema' | 
| 16 |  | -include { getWorkflowVersion    } from 'plugin/nf-utils' | 
| 17 |  | -include { dumpParametersToJSON  } from 'plugin/nf-utils' | 
| 18 |  | -include { checkCondaChannels    } from 'plugin/nf-utils' | 
| 19 |  | -include { UTILS_NFCORE_PIPELINE } from '../../nf-core/utils_nfcore_pipeline' | 
| 20 |  | -include { paramsSummaryLog      } from 'plugin/nf-schema' | 
| 21 |  | -include { validateParameters    } from 'plugin/nf-schema' | 
|  | 11 | +include { completionEmail      } from 'plugin/nf-utils' | 
|  | 12 | +include { completionSummary    } from 'plugin/nf-utils' | 
|  | 13 | +include { imNotification       } from 'plugin/nf-utils' | 
|  | 14 | +include { paramsSummaryMap     } from 'plugin/nf-schema' | 
|  | 15 | +include { samplesheetToList    } from 'plugin/nf-schema' | 
|  | 16 | +include { getWorkflowVersion   } from 'plugin/nf-utils' | 
|  | 17 | +include { dumpParametersToJSON } from 'plugin/nf-utils' | 
|  | 18 | +include { checkCondaChannels   } from 'plugin/nf-utils' | 
|  | 19 | +include { checkConfigProvided  } from 'plugin/nf-utils' | 
|  | 20 | +include { checkProfileProvided } from 'plugin/nf-utils' | 
|  | 21 | +include { paramsSummaryLog     } from 'plugin/nf-schema' | 
|  | 22 | +include { validateParameters   } from 'plugin/nf-schema' | 
| 22 | 23 | 
 | 
| 23 | 24 | /* | 
| 24 | 25 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 
| @@ -70,12 +71,9 @@ workflow PIPELINE_INITIALISATION { | 
| 70 | 71 |         log.info(paramsSummaryLog(workflow)) | 
| 71 | 72 |     } | 
| 72 | 73 | 
 | 
| 73 |  | -    // | 
| 74 | 74 |     // Check config provided to the pipeline | 
| 75 |  | -    // | 
| 76 |  | -    UTILS_NFCORE_PIPELINE( | 
| 77 |  | -        nextflow_cli_args | 
| 78 |  | -    ) | 
|  | 75 | +    valid_config = checkConfigProvided() | 
|  | 76 | +    checkProfileProvided(nextflow_cli_args) | 
| 79 | 77 | 
 | 
| 80 | 78 |     // | 
| 81 | 79 |     // Create channel from input file provided through params.input | 
|  | 
0 commit comments