scexao-org / camstack

EDT cam stack - python + minimal imgtake.c
5 stars 2 forks source link

VAMPIRES some detector keywords do not work #16

Closed mileslucas closed 1 year ago

mileslucas commented 1 year ago

Think I found a bug related to the new keywords that are camera only for VAMPIRES.

I kept running into issues starting the camera because the following line would error- https://github.com/scexao-org/camstack/blob/c396cd26695f1a2689a49209e251f095f2796f99/camstack/cams/dcamcam.py#L448

The error would occur calling

self.KEYWORDS[key][2]

saying that the key didn't exist (in this case, specifically U_CAMERA).

My initial thought was something somewhere didn't get updated with the scexao_keys table changes that have been made

mileslucas commented 1 year ago

Miles read the __cls__.KEYWORDS code