Hi, It might be better to ask these questions on the relax-devel mailing list (https://mail.gna.org/listinfo/relax-devel) as you are getting into the programming side. Here you have confused the 'spectrum' user function class - which is an automatically created object generated from the definitions in the user_functions package (http://www.nmr-relax.com/api/3.0/user_functions.spectrum-module.html) - with the pipe_contorl.spectrum module (http://www.nmr-relax.com/api/3.0/pipe_control.spectrum-module.html). You could try the following: relax> import pipe_control relax> pipe_control.spectrum.get_ids() You could also type 'from pipe_control import spectrum', but this would then permanently hide the user function class. Regards, Edward On 26 August 2013 17:12, Troels Emtekær Linnet <tlinnet@xxxxxxxxx> wrote:
Hi. Accoring to the API: http://www.nmr-relax.com/api/3.0/ in pipe_control.spectrum.get_ids If I do: spectrum.get_ids() i get: AttributeError: 'Class_container' object has no attribute 'get_ids' Should that be called different? Best Troels Troels Emtekær Linnet _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-users mailing list relax-users@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-users