blob: 34eef2e89279d19a408923f8f5a98f7532ae37a0 (
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
31
32
|
--- scripts/multiqc.orig 2018-12-21 17:29:54 UTC
+++ scripts/multiqc
@@ -6,18 +6,26 @@
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 pkg_resources
import re
import shutil
import subprocess
-import sys
import tempfile
import traceback
|