ISISComputingGroup / lewis-ess

Let's write intricate simulators!
GNU General Public License v3.0
21 stars 19 forks source link

Implement "verification mode" #218

Closed MichaelWedel closed 7 years ago

MichaelWedel commented 7 years ago

This fixes #199.

After discussing earlier this week, the easiest solution seemed to be an additional parameter for the lewis script (-V/--verify) which simply activates debug level logging and aborts before actually starting the simulation. I've added a bit more debug output to the device discovery process to give more information at that stage.

This PR does not implement all possible debug output - this is something we can pick up on in the next release.

OwenArnold commented 7 years ago

This looks good. Works for me. Code looks neat enough. Aside from the minor point with the casing of different options, I think this is good to go.