Skip to content

Commit

Permalink
Put functions within closure to evaluate them properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot committed Feb 8, 2024
1 parent 8e2eed3 commit 28e73b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def generate_wfmash_sparse_map_cmd() {
return wfmash_sparse_map_cmd
}

def wfmash_sparse_map_cmd = generate_wfmash_sparse_map_cmd()
def wfmash_sparse_map_cmd = { generate_wfmash_sparse_map_cmd() }

def generate_smoothxg_poa_params_cmd() {
def smoothxg_poa_params_cmd = "-P ${params.smoothxg_poa_params}"
Expand All @@ -45,7 +45,7 @@ def generate_smoothxg_poa_params_cmd() {
return smoothxg_poa_params_cmd
}

def smoothxg_poa_params_cmd = generate_smoothxg_poa_params_cmd()
def smoothxg_poa_params_cmd = { generate_smoothxg_poa_params_cmd() }

def parse_int(int plain_integer) {
return plain_integer
Expand Down

0 comments on commit 28e73b1

Please sign in to comment.