BCCDC-DSI / RADD

Consult at the BCCDC for Mass Spectrometry
https://bccdc-dsi.github.io/RADD/
MIT License
1 stars 0 forks source link

Incident report: Error after left it running overnight #22

Closed lisatwyw closed 3 months ago

lisatwyw commented 3 months ago

Model 272 of 272 (4 of 5) completed 82/82 [==============================] - 0s 1ms/step 23/23 [==============================] - 0s 601us/step 23/23 [==============================] - 0s 1ms/step 23/23 [==============================] - 0s 709us/step Model 272 of 272 (5 of 5) completed Refitting model with best architecture: [200, 60] O:\BCCDC\Groups\Analytics\DSI\RnD\p10_RADD_consult\code\RADD\workflows\part2_version2\nps-rt.py:61: FutureWarning: Downcasting behavior in replace is deprecated and will be removed in a future version. To retain the old behavior, explicitly call result.infer_objects(copy=False). To opt-in to the future behavior, set pd.set_option('future.no_silent_downcasting', True) counts['Order'] = counts[column].replace(order_dict) Traceback (most recent call last): File "O:\BCCDC\Groups\Analytics\DSI\RnD\p10_RADD_consult\code\RADD\workflows\part2_version2\nps-rt.py", line 193, in plot_bar(test_results, column = 'RT error window', order_dict=order_dict, File "O:\BCCDC\Groups\Analytics\DSI\RnD\p10_RADD_consult\code\RADD\workflows\part2_version2\nps-rt.py", line 64, in plot_bar fig, ax = plt.subplots(figsize=(12,8)) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\pyplot.py", line 1702, in subplots fig = figure(*fig_kw) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\pyplot.py", line 1022, in figure manager = new_figure_manager( File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\pyplot.py", line 545, in new_figure_manager return _get_backend_mod().new_figure_manager(args, **kwargs) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\backend_bases.py", line 3521, in new_figure_manager return cls.new_figure_manager_given_figure(num, fig) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\backend_bases.py", line 3526, in new_figure_manager_given_figure return cls.FigureCanvas.new_manager(figure, num) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\backend_bases.py", line 1811, in new_manager return cls.manager_class.create_with_canvas(cls, figure, num) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\backends_backend_tk.py", line 479, in create_with_canvas with _restore_foreground_window_at_end(): File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\contextlib.py", line 119, in enter return next(self.gen) File "C:\Users\lisa.tang1\AppData\Local\anaconda3\envs\R\envs\rt-predictor-py3.9\lib\site-packages\matplotlib\backends_backend_tk.py", line 43, in _restore_foreground_window_at_end foreground = _c_internal_utils.Win32_GetForegroundWindow() ValueError: PyCapsule_New called with null pointer