lianqiw / maos

Multithreaded Adaptive Optics Simulator
https://github.com/lianqiw/maos/releases/
GNU General Public License v3.0
15 stars 3 forks source link

Add print out of parameter names and values on error. #6

Closed jluastro closed 1 year ago

jluastro commented 1 year ago

It would be very handy to print out the parameter name and parameter values whenever an keyword error is thrown. E.g.

PastedGraphic-21

If this would also display: powfs.nwfs = [1 1] llts.ox = [-7 0 0 7 0]

it would make debugging much faster.

Thanks!

lianqiw commented 1 year ago

Fixed in 9b9284c.