Skip to content

Commit

Permalink
check if --efo_id is set when workflow starts
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Jul 31, 2024
1 parent ce4d596 commit 37ad5ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WorkflowPgscCalc.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class WorkflowPgscCalc {
// Check and validate parameters
//
public static void initialise(params, log) {
if (![params.scorefile, params.pgs_id, params.trait_efo, params.pgp_id].any()) {
Nextflow.error " ERROR: You didn't set any scores to use! Please set --scorefile, --pgs_id, --trait_efo, or --pgp_id"
if (![params.scorefile, params.pgs_id, params.trait_efo, params.efo_id, params.pgp_id].any()) {
Nextflow.error " ERROR: You didn't set any scores to use! Please set --scorefile, --pgs_id, --efo_id, or --pgp_id"
}

if (!params.target_build) {
Expand Down

0 comments on commit 37ad5ed

Please sign in to comment.