
10 Nov
2009
10 Nov
'09
9:48 a.m.
We do have that in C++, and IIRC you guys also have that in Java? It nicely minimized typos on user side. If that is not against python ethics, why not put it in? Cheers, Andre. Quoting [Mathijs den Burger] (Nov 10 2009):
On Mon, 2009-11-09 at 22:57 +0100, Andre Merzky wrote:
I think we have an agreement on E then:
E) description.set_attribute ("Executable", "/bin/date");
So, no dict, no properties, but a simple plain SAGA attribute API.
Nice! One leftover thing: should the API provide string constants (as Python class attributes) for the available SAGA attribute names?
Example:
description.set_attribute(JobDescription.EXECUTABLE, "/bin/date")
regards, -Mathijs
-- Nothing is ever easy.