Keck-DataReductionPipelines / KCWI_DRP

KCWI python DRP
BSD 3-Clause "New" or "Revised" License
9 stars 13 forks source link

MakeMasterFlat missing check to skip sending plots to bokeh server when plot_level = 0 #53

Open MNBrod opened 3 years ago

MNBrod commented 3 years ago

2021-05-06 13:50:36:DRPF:ERROR: Exception ‘ProcessingContext’ object has no attribute ‘bokeh_session’ while invoking MakeMasterFlat Traceback (most recent call last): File “/home/kcwidr/anaconda3/envs/kcwidrp/lib/python3.7/site-packages/keckdrpframework/core/framework.py”, line 229, in execute action_output = pipeline.get_action(action_name)(action, context) File “/home/kcwidr/anaconda3/envs/kcwidrp/lib/python3.7/site-packages/keckdrpframework/pipelines/base_pipeline.py”, line 84, in f return obj.apply() File “/home/kcwidr/anaconda3/envs/kcwidrp/lib/python3.7/site-packages/keckdrpframework/primitives/base_primitive.py”, line 57, in apply self.output = self._perform() File “/home/kcwidr/KCWI_DRP/kcwidrp/primitives/MakeMasterFlat.py”, line 398, in _perform bokeh_plot(p, self.context.bokeh_session) AttributeError: ‘ProcessingContext’ object has no attribute ‘bokeh_session’