cwl_utils.docker_extract
========================

.. py:module:: cwl_utils.docker_extract


Functions
---------

.. autoapisummary::

   cwl_utils.docker_extract.arg_parser
   cwl_utils.docker_extract.run
   cwl_utils.docker_extract.extract_docker_requirements
   cwl_utils.docker_extract.extract_docker_reqs
   cwl_utils.docker_extract.traverse
   cwl_utils.docker_extract.get_process_from_step
   cwl_utils.docker_extract.traverse_workflow
   cwl_utils.docker_extract.main


Module Contents
---------------

.. py:function:: arg_parser()

   Argument parser.


.. py:function:: run(args)

   Extract the docker reqs and download them using Singularity or Docker.


.. py:function:: extract_docker_requirements(process)

   Yield an iterator of the docker reqs, normalizing the pull request.


.. py:function:: extract_docker_reqs(process)

   For the given process, extract the DockerRequirement(s).


.. py:function:: traverse(process)

   Yield the iterator for the docker reqs, including an workflow steps.


.. py:function:: get_process_from_step(step)

   Return the process for this step, loading it if necessary.


.. py:function:: traverse_workflow(workflow)

   Iterate over the steps of this workflow, yielding the docker reqs.


.. py:function:: main()

   Command line entry point.


