toil.wdl.utils

Module Contents

Functions

get_version(iterable)

Get the version of the WDL document.

toil.wdl.utils.get_version(iterable)[source]

Get the version of the WDL document.

Parameters:

iterable (Iterable[str]) – An iterable that contains the lines of a WDL document.

Returns:

The WDL version used in the workflow.

Return type:

str