[INSTRM-144] CCD Temps status bug Created: 10/Jul/17 Updated: 28/Jul/17 Resolved: 28/Jul/17 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
A bug occurs when we ask fee status, KeyError Exception : 09:14:05.976907 client.alefur 8 ccd_r1 f text="command failed: KeyError(1,) at /home/pfs/mhs/products/Linux64/ics_ccdActor/1.2/python/ccdActor/Commands/TopCmd.py:130" ret = self.actor.fee.getTemps()
cmd.inform('ccdTemps=%0.2f,%0.2f,%0.2f' % (ret[1], ret[2], ret[3]))
cmd.inform('ccdTemps=%0.2f,%0.2f,%0.2f' % (ret['PA'], ret['ccd0'], ret['ccd1']))
That should work. |
| Comments |
| Comment by arnaud.lefur [ 10/Jul/17 ] |
|
I've created a dedicated branch, I let you merge . |
| Comment by cloomis [ 28/Jul/17 ] |
|
Merged in 8c8a6d7 |