Skip to content

Commit

Permalink
bump also auto update nextclade version
Browse files Browse the repository at this point in the history
  • Loading branch information
MarieLataretu committed Feb 26, 2024
1 parent 8d7d86d commit 5461df6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions poreCov.nf
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ println "\033[0;33mWarning: Running --update might not be poreCov compatible!\03
params.pangolindocker = "nanozoo/pangolin-v4:" + tagname
println "\033[0;32mFound latest pangolin container, using: " + params.pangolindocker + " \033[0m"

tagname = 'https://registry.hub.docker.com/v2/repositories/nanozoo/nextclade2/tags/'.toURL().text.split(',"name":"')[1].split('","')[0]
params.nextcladedocker = "nanozoo/nextclade2:" + tagname
println "\033[0;32mFound latest nextclade2 container, using: " + params.nextcladedocker + " \033[0m"
tagname = 'https://registry.hub.docker.com/v2/repositories/nanozoo/nextclade3/tags/'.toURL().text.split(',"name":"')[1].split('","')[0]
params.nextcladedocker = "nanozoo/nextclade3:" + tagname
println "\033[0;32mFound latest nextclade3 container, using: " + params.nextcladedocker + " \033[0m"
}
if ( internetcheck.toString() == "false" ) {
println "\033[0;33mCould not find the latest pangolin container, trying: " + params.defaultpangolin + "\033[0m"
params.pangolindocker = params.defaultpangolin

println "\033[0;33mCould not find the latest nextclade2 container, trying: " + params.defaultnextclade + "\033[0m"
println "\033[0;33mCould not find the latest nextclade3 container, trying: " + params.defaultnextclade + "\033[0m"
params.nextcladedocker = params.defaultnextclade
}
}
Expand Down

0 comments on commit 5461df6

Please sign in to comment.