Skip to content

Commit

Permalink
bug fix genomeDirPath
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-ftricomi committed Aug 15, 2024
1 parent 38adb65 commit cf982a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ process INDEX_GENOME {
//if (!genomeIndexFile.exists() || genomeIndexFile.length() == 0) {
// Read the .fna file and perfor
// d= new File("${genomeDir}")
def genomefilePath=d.listFiles().find { it.name.endsWith('.fna') }
def genomefilePath=genomeDirPath.listFiles().find { it.name.endsWith('.fna') }
def genomeFile=genomefilePath.absolutePath
// Function to calculate the min value
def min = { a, b -> a < b ? a : b }
Expand Down

0 comments on commit cf982a7

Please sign in to comment.