On Tue, Mar 16, 2010 at 11:21:20PM +0100, Jean-m. a. wrote: > One precision, for example to change the max that is a double value one has > to do: > container.set_double_by_name<http://gwyddion.net/documentation/head/pygwy/gwy.Container-class.html#set_double_by_name> > ("/0/max", value) . > As "/0/max" was a string I was trying to use > container.set_string_by_name<http://gwyddion.net/documentation/head/pygwy/gwy.Container-class.html#set_double_by_name> > ("/0/max", value) .
String is the key, and it is always a string (or quark), the type in the function name is the value type. Regards, Yeti ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gwyddion-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gwyddion-users
