Currently
wiz.res("Test variable", 630, 15)
yields: TestVariable = 630.000000000000. This is due to the 15 being interpreted as number of significant figures. This is confusing as one might expect to get back TestVariable = 630 ± 15 as is the case for
wiz.res("Test variable", 630, 15.0)
We should somehow circumvent the first behavior, e.g. only allow passing in sigfigs via a named keyword, e.g. sigfigs=15. Maybe this can be achieved with plum somehow. It would also be great to completely disallow the mentioned usage but I'm not sure one can prevent users from not passing in an argument as keyword argument.
Currently
yields:
TestVariable = 630.000000000000. This is due to the15being interpreted as number of significant figures. This is confusing as one might expect to get backTestVariable = 630 ± 15as is the case forWe should somehow circumvent the first behavior, e.g. only allow passing in sigfigs via a named keyword, e.g.
sigfigs=15. Maybe this can be achieved with plum somehow. It would also be great to completely disallow the mentioned usage but I'm not sure one can prevent users from not passing in an argument as keyword argument.