Open elaird opened 11 years ago
I suppose it's a little less specific than that. It depends on the local library defining calculables.other.pthatLess. It could be generalized by making the calculable take a leaf name (and possibly an arbitrary prefix) and a value rather than just a value, but I'm not sure it is worthwhile to worry about it. The import is hidden inside the function, so it's only a problem if one wants to use the function, in which case it had better be defined.
I guess the problem that the function solves needs to be generalized if the solution is to fit well in supy.
In supy / samples / init.py, manageInclusive() uses a calculable (calculables.other.pthatLess) from susycaf.