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(self, stepname, obj)
Parameters
  • stepname (str) –

  • obj (cwltool.utils.CWLObjectType) –

Return type

None

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

  • obj (cwltool.utils.CWLObjectType) –

Return type

None

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

  • obj (cwltool.utils.CWLObjectType) –

Return type

None

set_generation(self, obj)
Parameters

obj (cwltool.utils.CWLObjectType) –

Return type

None

unset_generation(self, obj)
Parameters

obj (cwltool.utils.CWLObjectType) –

Return type

None