cwl_utils.file_formats
======================

.. py:module:: cwl_utils.file_formats

.. autoapi-nested-parse::

   CWL file formats utilities.

   For more information, please visit https://www.commonwl.org/user_guide/16-file-formats/



Functions
---------

.. autoapisummary::

   cwl_utils.file_formats.formatSubclassOf
   cwl_utils.file_formats.check_format


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

.. py:function:: formatSubclassOf(fmt, cls, ontology, visited)

   Determine if `fmt` is a subclass of `cls`.


.. py:function:: check_format(actual_file, input_formats, ontology)

   Confirm that the format present is valid for the allowed formats.


