Skip to content

Commit 477b36f

Browse files
committed
Changed error type.
1 parent 6621a65 commit 477b36f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

structure_threader/sanity_checks/sanity.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ class AuxSanity(object):
3434

3535
def log_error(self, msg, aux):
3636

37-
logging.error("Badly formatted {f1}file (provided with --{f1})"
38-
" with error:\n\n"
39-
"{f2}\n\n"
40-
"Please correct the provided {f1}file and re-run"
41-
" the plotting operation of structure_threader "
42-
"with the following command:\n\n"
43-
"structure_threader plot <opts>".format(
44-
f1=aux, f2=msg))
37+
logging.critical("Badly formatted {f1}file (provided with --{f1})"
38+
" with error:\n\n"
39+
"{f2}\n\n"
40+
"Please correct the provided {f1}file and re-run"
41+
" the plotting operation of structure_threader "
42+
"with the following command:\n\n"
43+
"structure_threader plot <opts>".format(
44+
f1=aux, f2=msg))
4545
raise SystemExit
4646

4747
def ind_mismatch(self, exp_array, kvals):

0 commit comments

Comments
 (0)