Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed May 30, 2024
1 parent de5e6e3 commit 4afcf60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subworkflows/functional_annotation/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ workflow FUNCTIONAL_ANNOTATION {
if ( params.interproscan_database?.endsWith('.tar.gz') ){
UNTAR(
Channel.fromPath(params.interproscan_database, checkIfExists: true)
.map { db -> [ [id: db.baseName(2) ], db ] }
.map { db -> [ [id: db.getBaseName(2) ], db ] }
)
.untar.set { ch_interpro_db }
} else if ( params.interproscan_database ) {
Expand Down

0 comments on commit 4afcf60

Please sign in to comment.