Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion subworkflows/local/hic_mapping/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ workflow HIC_MAPPING {
//
// LOGIC: MAKE YAHS INPUT
//
ref_yahs.map { meta, ref -> ref }.set{ch_ref}
reference_tuple.map { meta, ref -> ref }.set{ch_ref}
reference_index.map { meta, fai -> fai }.set{ch_fai}

//
Expand Down
4 changes: 2 additions & 2 deletions workflows/treeval.nf
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ workflow TREEVAL {
log.info "[Treeval: Info] PROCESSES TO RUN INCLUDE: $include_workflow_steps"

// Validate that all requested steps are valid
def invalid_steps = exclude_steps_list - all_steps_list
invalid_steps = exclude_steps_list - all_steps_list
if (invalid_steps) {
log.error "[Treeval: Error] Invalid step(s) specified in --steps: ${invalid_steps.join(", ")}"
log.error "[Treeval: Error] Valid options are: ${all_steps_list.join(", ")}"
System.exit(1)
}

// Validate that include_workflow_steps contains only valid steps (safety check)
def invalid_include_steps = include_workflow_steps - all_steps_list
invalid_include_steps = include_workflow_steps - all_steps_list
if (invalid_include_steps) {
log.error "[Treeval: Error] Internal error - invalid workflow steps detected: ${invalid_include_steps.join(", ")}"
System.exit(1)
Expand Down