ISISComputingGroup / lewis-ess

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

Change how framework_version is handled by default #238

Closed MichaelWedel closed 7 years ago

MichaelWedel commented 7 years ago

This does not have an issue assigned, but we've discussed it over the last two months. Basically the strict requirement that devices must have framework_version defined seemed to go a bit too far, so this is a slightly more forgiving approach.

When no options are supplied to lewis, devices without the framework_version variable are accepted, but if the variable is set it must match. To disable that check as well, there's a new --ignore-versions flag. To disallow loading devices without a framework_version, the --strict-versions flag can be specified.