Skip to content

Commit

Permalink
Use nextflow error thrower
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCaron committed Sep 10, 2024
1 parent f48f98d commit 5686dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subworkflows/nf-scil/load_test_data/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def fetch_archive ( name, destination, remote, database, data_identifiers ) {
// Fetch file from remote if not present in cache
def data_id = data_identifiers[name]
if ( !data_id ) {
throw new Exception("Invalid data identifier supplied: $name")
error "Invalid test data identifier supplied: $name"
}

def cache_entry = file("$cache_location/$data_id")
Expand Down

0 comments on commit 5686dbf

Please sign in to comment.