Skip to content

Commit

Permalink
Add torch_tune setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tombch committed Oct 30, 2024
1 parent ae4f78e commit afec64b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions modules/nf-core/stimulus/analysisdefault/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ nextflow_process {
script "../../../stimulus/torchtune/main.nf"
process {
"""
// TODO define inputs
experiment_ch = Channel.of([
[ id:'test'],
file(params.modules_testdata_base_path + '../../deepmodeloptim/testdata/dna_experiment/experiment_config.json', checkIfExists: true)
])
input[0] = STIMULUS_SPLITCSV.out.split_csv.join(experiment_ch)
input[1] = [
file(params.modules_testdata_base_path + '../../deepmodeloptim/testdata/dna_experiment/tune_config.yaml', checkIfExists: true),
file(params.modules_testdata_base_path + '../../deepmodeloptim/testdata/dna_experiment/dna_to_float_model.py', checkIfExists: true)
]
"""
}
}
Expand Down Expand Up @@ -87,7 +95,15 @@ nextflow_process {
script "../../../stimulus/torchtune/main.nf"
process {
"""
// TODO copy
experiment_ch = Channel.of([
[ id:'test'],
file(params.modules_testdata_base_path + '../../deepmodeloptim/testdata/dna_experiment/experiment_config.json', checkIfExists: true)
])
input[0] = STIMULUS_SPLITCSV.out.split_csv.join(experiment_ch)
input[1] = [
file(params.modules_testdata_base_path + '../../deepmodeloptim/testdata/dna_experiment/tune_config.yaml', checkIfExists: true),
file(params.modules_testdata_base_path + '../../deepmodeloptim/testdata/dna_experiment/dna_to_float_model.py', checkIfExists: true)
]
"""
}
}
Expand Down

0 comments on commit afec64b

Please sign in to comment.