Closed ld-cd closed 3 months ago
This causes loading the bad pixel mask to fail with:
--------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-7-4075bd20be7a> in <module> ----> 1 o.bad_pixel_mask ~/Workspace/analysis/MKIDPipeline/mkidpipeline/photontable.py in bad_pixel_mask(self) 366 def bad_pixel_mask(self): 367 """A boolean image with true where pixel data has problems """ --> 368 from mkidpipeline.pipeline import PROBLEM_FLAGS # This must be here to prevent a circular import! 369 return self.flagged(PROBLEM_FLAGS) 370 ~/Workspace/analysis/MKIDPipeline/mkidpipeline/pipeline.py in <module> 15 if info.name == 'sample': 16 continue ---> 17 mod = import_module(f"mkidpipeline.steps.{info.name}") 18 globals()[info.name] = mod 19 PIPELINE_STEPS[info.name] = mod ~/.conda/envs/wheatley/pipeline/lib/python3.7/importlib/__init__.py in import_module(name, package) 125 break 126 level += 1 --> 127 return _bootstrap._gcd_import(name[level:], package, level) 128 129 ~/Workspace/analysis/MKIDPipeline/mkidpipeline/steps/drizzler.py in <module> 40 from mkidpipeline.photontable import Photontable 41 import mkidpipeline.config ---> 42 from mkidcore.utils import astropy_observer 43 44 EXCLUDE = ('pixcal.dead', 'pixcal.hot', 'pixcal.cold', 'beammap.noDacTone', 'wavecal.bad', 'wavecal.failed_convergence',
https://github.com/MazinLab/MKIDPipeline/blob/f4ad012c574e0ef5718706e6712b5c743eb3e697/mkidpipeline/steps/drizzler.py#L42
Resolved by https://github.com/MazinLab/MKIDCore/commit/c55dda908a89708abfe7e41a8d39c3ed045c08cb
This causes loading the bad pixel mask to fail with:
https://github.com/MazinLab/MKIDPipeline/blob/f4ad012c574e0ef5718706e6712b5c743eb3e697/mkidpipeline/steps/drizzler.py#L42