cwltool.mutation

Module Contents

Classes

MutationManager

Lock manager for checking correctness of in-place update of files.

Attributes

MutationState

cwltool.mutation.MutationState
class cwltool.mutation.MutationManager

Lock manager for checking correctness of in-place update of files.

Used to validate that in-place file updates happen sequentially, and that a file which is registered for in-place update cannot be read or updated by any other steps.

register_reader(stepname, obj)
Parameters:
  • stepname (str) –

  • obj (cwltool.utils.CWLObjectType) –

Return type:

None

release_reader(stepname, obj)
Parameters:
  • stepname (str) –

  • obj (cwltool.utils.CWLObjectType) –

Return type:

None

register_mutation(stepname, obj)
Parameters:
  • stepname (str) –

  • obj (cwltool.utils.CWLObjectType) –

Return type:

None

set_generation(obj)
Parameters:

obj (cwltool.utils.CWLObjectType) –

Return type:

None

unset_generation(obj)
Parameters:

obj (cwltool.utils.CWLObjectType) –

Return type:

None