Skip to content

Commit 0c8716a

Browse files
committed
disable pyFAI error message
Former-commit-id: a0fc68b09b297702fe9790bebba0bfd07ad3e99c
1 parent c6ff860 commit 0c8716a

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

dpx/srxplanargui/live.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,15 @@ def addNewImagesToGetXgui(self, filelist):
134134
VGroup(
135135
Group(Item('srxconfig', editor=InstanceEditor(view='main_view'),
136136
style='custom', label='Basic', show_label=False),
137-
# layout='tabbed',
138137
springy=True,
139138
),
140139
HGroup(spring,
141140
Item('selfcalibratebb', enabled_when='not capturing'),
142141
Item('integratbb', enabled_when='not capturing'),
143-
# Item('integratessbb', enabled_when='not capturing'),
144142
spring,
145143
show_labels=False,
146144
),
147145
),
148-
149146
layout='split',
150147
springy=True,
151148
dock='tab',
@@ -162,10 +159,6 @@ def addNewImagesToGetXgui(self, filelist):
162159
)
163160

164161
def main():
165-
# splash = SplashScreen(image=ImageResource('splash.png'))
166-
# splash.open()
167-
168-
# gui = SrXguiLive(splash=splash)
169162
gui = SrXguiLive()
170163
gui.configure_traits(view='traits_view')
171164
return

dpx/srxplanargui/srxgui.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,11 @@ def _selfcalibratebb_changed(self):
233233
VGroup(
234234
Group(Item('srxconfig', editor=InstanceEditor(view='main_view'),
235235
style='custom', label='Basic', show_label=False),
236-
# layout='tabbed',
237236
springy=True,
238237
),
239238
HGroup(spring,
240239
Item('selfcalibratebb'),
241240
Item('integratbb'),
242-
# Item('integratessbb'),
243241
spring,
244242
show_labels=False,
245243
),

dpx/srxplanargui/srxguiapp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
import warnings
2323
warnings.filterwarnings("ignore")
24+
import logging
25+
logging.disable('CRITICAL')
2426

2527
# break if help passed to the args
2628
sysargv = sys.argv[1:]

0 commit comments

Comments
 (0)