Diff of /conf/test_ibis.config [000000] .. [13a70a]

Switch to unified view

a b/conf/test_ibis.config
1
/*
2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
    Nextflow config file for running minimal tests
4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
    Defines input files and everything required to run a fast and simple pipeline test.
6
7
    Use as follows:
8
        nextflow run main.nf -profile test_ibis,<docker/singularity> --outdir <OUTDIR>
9
10
----------------------------------------------------------------------------------------
11
*/
12
13
params {
14
    config_profile_name        = 'Test ibis profile'
15
    config_profile_description = 'Minimal ibis test dataset to check pipeline functions'
16
17
    // Input data
18
    data                 = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ibis_SP140/SP140_shade.stimulus.csv'
19
    data_config          = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/data.yaml'
20
    model                = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ConvBasic_withEfficientKAN.py'
21
    model_config         = params.pipelines_testdata_base_path + 'deepmodeloptim/testdata/ibis/ConvBasic_withEfficientKAN.yaml'
22
23
    // output
24
    save_data    = true
25
}
26
27
// Limit resources so that this can run on GitHub Actions
28
process {
29
    maxRetries = params.max_retries
30
    errorStrategy = params.err_start
31
32
    withLabel:process_low {
33
        cpus   = { 1                    }
34
        memory = { 4.GB * task.attempt  }
35
        time   = { 10.m  * task.attempt }
36
    }
37
    withLabel:process_medium {
38
        cpus   = { 2                    }
39
        memory = { 6.GB * task.attempt  }
40
        time   = { 30.m  * task.attempt }
41
    }
42
    withLabel:process_high {
43
        cpus   = { 4                    }
44
        memory = { 8.GB * task.attempt  }
45
        time   = { 1.h  * task.attempt  }
46
    }
47
}