mxcubecore.HardwareObjects.mockup.MultiCollectMockup

Classes

class mxcubecore.HardwareObjects.mockup.MultiCollectMockup.MultiCollectMockup(name)[source]

Bases: AbstractMultiCollect, HardwareObject

execute_command(command_name, *args, **kwargs)[source]

Execute command.

Parameters:
  • command_name (str) – Command name.

  • *args (tuple) – Arguments to pass through to the command to be executed.

  • **kwargs (Dict[str, Any]) – Named arguments to pass through to the

  • executed. (command to be)

Raises:

AttributeError – If command not found.

Returns:

Execution output.

Return type:

Any

init()[source]

‘public’ post-initialization method. Override as needed.

For ConfiguredObjects called after loading contained objects.

is_ready()[source]

Convenience function: Check if the object state is READY.

The same effect could be achieved with `python self.get_state() == self.STATES.READY `

Returns:

True if ready, otherwise False.

Return type:

bool

prepare_input_files(files_directory, prefix, run_number, process_directory)[source]

Return XDS input file directory