Skip to content

Commit

Permalink
giving back valid measure variables:
Browse files Browse the repository at this point in the history
if curvecurator&raw -> run processes, if it's curvecurator but already processed, just append _curvecurator to metric, else return normal metric
  • Loading branch information
JudithBernett committed Dec 5, 2024
1 parent 98c7800 commit 674bf15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion subworkflows/local/preprocess_custom/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ workflow PREPROCESS_CUSTOM {
PREPROCESS_RAW_VIABILITY(dataset_name, path_data)
FIT_CURVES(dataset_name, PREPROCESS_RAW_VIABILITY.out.path_to_toml, PREPROCESS_RAW_VIABILITY.out.curvecurator_input)
POSTPROCESS_CURVECURATOR_DATA(dataset_name, FIT_CURVES.out.path_to_curvecurator_out, measure)
ch_measure = POSTPROCESS_CURVECURATOR_DATA.out.measure
}else if(params.curve_curator){
ch_measure = Channel.of("${measure}" + "_curvecurator")
}else{
ch_measure = measure
}
emit:
measure = POSTPROCESS_CURVECURATOR_DATA.out.measure
measure = ch_measure
}

0 comments on commit 674bf15

Please sign in to comment.