cwl_utils.cite_extract
======================

.. py:module:: cwl_utils.cite_extract


Functions
---------

.. autoapisummary::

   cwl_utils.cite_extract.arg_parser
   cwl_utils.cite_extract.run
   cwl_utils.cite_extract.main
   cwl_utils.cite_extract.extract_software_reqs
   cwl_utils.cite_extract.process_software_requirement
   cwl_utils.cite_extract.traverse
   cwl_utils.cite_extract.get_process_from_step
   cwl_utils.cite_extract.traverse_workflow


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

.. py:function:: arg_parser()

   Construct the argument parser.


.. py:function:: run(args)

   Extract the software requirements.


.. py:function:: main()

   Console entry point.


.. py:function:: extract_software_reqs(process)

   Return an iterator over any SoftwareRequirements found in the given process.


.. py:function:: process_software_requirement(req)

   Pretty print the software package information.


.. py:function:: traverse(process)

   Extract the software packages for this process, and any steps.


.. py:function:: get_process_from_step(step)

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


.. py:function:: traverse_workflow(workflow)

   Iterate over the given workflow, extracting the software packages.


