Skip to content

Commit

Permalink
check batch presence and usi it in the next steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-ftricomi committed Sep 20, 2024
1 parent 4f88518 commit e73c55e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ process GET_RUN_ACCESSIONS {
script:
runAccessionList = []
runAccessionToFile='run_accession_list.txt'
def fileBatch=new File(run_accession_batch)
if (fileBatch.exists()){
//def fileBatch=new File(run_accession_batch)
//if (fileBatch.exists()){
if (run_accession_batch && file(run_accession_batch).exists()){
fileBatch.eachLine { line ->
runAccessionList.add([taxon_id: taxon_id, gca: gca, run_accession: line])
}
Expand Down

0 comments on commit e73c55e

Please sign in to comment.