From c566b3c29b7d5e1a90f41eb2b1e386c0d04adcf2 Mon Sep 17 00:00:00 2001 From: Till Hartmann Date: Tue, 30 Apr 2024 11:09:48 +0200 Subject: [PATCH] fix: set locale to C in bcftools/TMB wrapper --- snappy_wrappers/wrappers/bcftools/TMB/wrapper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snappy_wrappers/wrappers/bcftools/TMB/wrapper.py b/snappy_wrappers/wrappers/bcftools/TMB/wrapper.py index b096a0b25..50085c990 100644 --- a/snappy_wrappers/wrappers/bcftools/TMB/wrapper.py +++ b/snappy_wrappers/wrappers/bcftools/TMB/wrapper.py @@ -26,6 +26,9 @@ set -x # ----------------------------------------------------------------------------- +# Ensure locale is set to C, such that the printf %f calls work correctly +export LC_ALL=C + # Write out information about conda installation conda list > {snakemake.log.conda_list} conda info > {snakemake.log.conda_info}