Author: bugman Date: Fri Mar 23 18:41:04 2012 New Revision: 15624 URL: http://svn.gna.org/viewcvs/relax?rev=15624&view=rev Log: Alphabetical ordering of methods. Modified: 1.3/multi/processor.py Modified: 1.3/multi/processor.py URL: http://svn.gna.org/viewcvs/relax/1.3/multi/processor.py?rev=15624&r1=15623&r2=15624&view=diff ============================================================================== --- 1.3/multi/processor.py (original) +++ 1.3/multi/processor.py Fri Mar 23 18:41:04 2012 @@ -254,33 +254,6 @@ return obj - def send_data_to_slaves(self, name=None, value=None): - """Transfer the given data from the master to all slaves. - - @keyword name: The name of the data structure to store. - @type name: str - @keyword value: The data structure. - @type value: anything - """ - - # This must be the master processor! - self.assert_on_master() - - # Create the command list. - for i in range(self.processor_size()): - # Create and append the command. - command = Slave_storage_command() - - # Add the data to the command. - command.add(name, value) - - # Add the command to the queue. - self.add_to_queue(command) - - # Flush the queue. - self.run_queue() - - def get_intro_string(self): """Get a string describing the multi processor - designed for overriding. @@ -652,6 +625,33 @@ self.memo_map.clear() + def send_data_to_slaves(self, name=None, value=None): + """Transfer the given data from the master to all slaves. + + @keyword name: The name of the data structure to store. + @type name: str + @keyword value: The data structure. + @type value: anything + """ + + # This must be the master processor! + self.assert_on_master() + + # Create the command list. + for i in range(self.processor_size()): + # Create and append the command. + command = Slave_storage_command() + + # Add the data to the command. + command.add(name, value) + + # Add the command to the queue. + self.add_to_queue(command) + + # Flush the queue. + self.run_queue() + + def stdio_capture(self): """Enable capture of the STDOUT and STDERR.