Skip to content

Commit

Permalink
More straightforward variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Sep 15, 2023
1 parent 123e1bc commit 598de78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions subworkflows/local/hic_mapping.nf
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ workflow HIC_MAPPING {
// LOGIC: HIRES IS TOO INTENSIVE FOR RUNNING IN GITHUB CI SO THIS STOPS IT RUNNING
//
if ( params.config_profile_name ) {
github = params.config_profile_name
config_profile_name = params.config_profile_name
} else {
github = 'Local'
config_profile_name = 'Local'
}

if ( !github.contains('GitHub') ) {
if ( !config_profile_name.contains('GitHub') ) {
//
// MODULE: GENERATE PRETEXT MAP FROM MAPPED BAM FOR HIGH RES
//
Expand Down Expand Up @@ -211,7 +211,7 @@ workflow HIC_MAPPING {
//
// LOGIC: SECTION ONLY NEEDED FOR TREEVAL VISUALISATION, NOT RAPID ANALYSIS
//
if (workflow_setting == 'FULL' && !github.contains('GitHub')) {
if (workflow_setting == 'FULL' && !config_profile_name.contains('GitHub')) {
//
// LOGIC: PREPARE JUICER TOOLS INPUT
//
Expand Down

0 comments on commit 598de78

Please sign in to comment.