diff --git a/CHANGELOG.md b/CHANGELOG.md index a698510..79e461a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ 1. Removed the hardcoded setup of samplesheet generation and migrated to a worksheet implementation to generate samplesheets. See the [worksheets](docs/worksheets.md) documentation for more information 2. Use `clusters` to get the amount of reads for rnafusion runs instead of the `yield_` 3. Resolved all configuration warnings +4. Removed the timestamp from the defaults samplesheets output directory ## 0.2.8 diff --git a/src/main/groovy/nfcmgg/plugin/utils/SessionFetcher.groovy b/src/main/groovy/nfcmgg/plugin/utils/SessionFetcher.groovy index 43fa0e5..8fc7ad3 100644 --- a/src/main/groovy/nfcmgg/plugin/utils/SessionFetcher.groovy +++ b/src/main/groovy/nfcmgg/plugin/utils/SessionFetcher.groovy @@ -30,8 +30,6 @@ import nextflow.Nextflow @CompileDynamic class SessionFetcher { - final private static String CREATIONDATE = new Date().format('yyyyMMdd_HHmmss') - static Path getOutdir(Session session) { String outdirString = session?.params?.get('outdir', null) Path outdir = outdirString ? Nextflow.file(outdirString) as Path : null @@ -43,7 +41,7 @@ class SessionFetcher { } static Path getSamplesheetOutdir(Session session) { - return getOutdir(session).resolve("samplesheets/${CREATIONDATE}") + return getOutdir(session).resolve('samplesheets') } static List> getInputSamplesheetList(Session session) {