APS-2BM-MIC / ipython-user2bmb

ipython configurations for the tomography instrument
2 stars 5 forks source link

Remove redundant component (already defined via parent class CamBase). #9

Closed danielballan closed 6 years ago

danielballan commented 6 years ago

Verifying that PcoDetectorCam already has an array_callbacks component -- no need to define one.

In [1]: from ophyd import PcoDetectorCam

In [2]: PcoDetectorCam.__mro__
Out[2]:
(ophyd.areadetector.cam.PcoDetectorCam,
 ophyd.areadetector.cam.CamBase,
 ophyd.areadetector.base.ADBase,
 ophyd.device.Device,
 ophyd.device.BlueskyInterface,
 ophyd.ophydobj.OphydObject,
 object)

In [3]: from ophyd import CamBase

In [4]: CamBase.array_callbacks
Out[4]: ADComponent(EpicsSignalWithRBV, 'ArrayCallbacks')
prjemian commented 6 years ago

Nice catch, thanks!