toil.wdl.utils

Functions

get_version(iterable)

Get the version of the WDL document.

Module Contents

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

Get the version of the WDL document.

Parameters:

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

Returns:

The WDL version used in the workflow.

Return type:

str