blob: d1a670b3bb5649631ad5554b726d6da834b9e2e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- multiqc/multiqc.py.orig 2019-11-25 15:53:22 UTC
+++ multiqc/multiqc.py
@@ -11,16 +11,25 @@ from __future__ import print_function
import base64
import click
+import os
+import sys
+
+if 'LC_ALL' in os.environ and 'LANG' in os.environ:
+ import click
+else:
+ print('multiqc: LC_ALL and LANG must be set to a UTF-8 character set')
+ print('in your environment in order for the click module to function.')
+ print('E.g. export LC_ALL=en_US.UTF-8 or setenv LC_ALL en_US.UTF-8')
+ sys.exit()
+
from distutils import version
from distutils.dir_util import copy_tree
import errno
import io
import jinja2
-import os
import re
import shutil
import subprocess
-import sys
import tempfile
import traceback
|