File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2222
2323import numpy as np
2424
25+ # Set default log level and format
26+ logging .basicConfig (format = '%(levelname)s: %(message)s' , level = logging .INFO )
27+
2528
2629class AuxSanity (object ):
2730
Original file line number Diff line number Diff line change 3131try :
3232 import plotter .structplot as sp
3333 import sanity_checks .sanity as sanity
34+ import colorer .colorer
3435except ImportError :
3536 import structure_threader .plotter .structplot as sp
3637 import structure_threader .sanity_checks .sanity as sanity
38+ import structure_threader .colorer .colorer
3739
3840# Where are we?
3941CWD = os .getcwd ()
4042
4143# Set default log level
42- logging .basicConfig (level = logging .INFO )
44+ logging .basicConfig (format = '%(levelname)s: %(message)s' , level = logging .INFO )
4345
4446
4547def gracious_exit (* args ):
You can’t perform that action at this time.
0 commit comments