1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-09-21 05:12:05 +00:00

fix: force UTF-8 in different locale?

This commit is contained in:
Moritz E. Beber 2022-04-02 15:20:36 +02:00
parent 562fa42696
commit 4e22bc9610

View file

@ -158,7 +158,8 @@ if (!params.igenomes_ignore) {
// See https://apeltzer.github.io/post/03-julia-lang-nextflow/ for details on that. Once we have a common agreement on where to keep Julia packages, this is adjustable. // See https://apeltzer.github.io/post/03-julia-lang-nextflow/ for details on that. Once we have a common agreement on where to keep Julia packages, this is adjustable.
env { env {
PYTHONNOUSERSITE = 1 PYTHONNOUSERSITE = '1'
PYTHONUTF8 = '1' // MetaPhlAn3 may fail with a UnicodeDecodeError if the locale is not set appropriately.
R_PROFILE_USER = "/.Rprofile" R_PROFILE_USER = "/.Rprofile"
R_ENVIRON_USER = "/.Renviron" R_ENVIRON_USER = "/.Renviron"
JULIA_DEPOT_PATH = "/usr/local/share/julia" JULIA_DEPOT_PATH = "/usr/local/share/julia"