omero.testlib.script module

class testlib.script.ScriptTest(*args: Any, **kwargs: Any)[source]

Bases: ITest

get_script(path)[source]
testlib.script.check_file_annotation(client, file_annotation, parent_type='Image', is_linked=True, file_name=None)[source]

Check validity of file annotation. If hasFileAnnotation, check the size, name and number of objects linked to the original file.

testlib.script.points_to_string(points)[source]

Returns legacy format supported by Insight

testlib.script.run_script(client, script_id, args, key=None)[source]