Good day,
I am building a transpiler that reads CWL processes and generates Python code that runs the tools/workflows using DASK. I am reading the CWL process files with cwl_utils.parser.load_document_by_uri, which works fine until encountering an $include statement in InlineJavascriptRequirement.expressionLib. I know that this happens because workflow engines that implement CWL are expected to replace the $include statements with their targets during preprocessing. I am struggling to find a way around this without pivoting away from using loader altogether, which I really do not want to do. Any ideas or solutions?