HERA-Team / hera_corr_f

HERA F-Engine on SNAP
1 stars 5 forks source link

Type of histogram data is ambiguous #29

Closed mkolopanis closed 4 years ago

mkolopanis commented 4 years ago

The hist_bins and hist_vals variables in this line and another later should be a list when uploaded to redis. However an exception caught at like 308 will put insert a list into the dictionary already. If an exception is not caught then a numpy array is inserted. The casting to list should probably just be done in the try block starting at line 290

https://github.com/HERA-Team/hera_corr_f/blob/aca027777ba10421798cf60a756ee23718423798/control_software/scripts/hera_snap_redis_monitor.py#L356