new Python codegen loader behaves differently
mr-c opened this issue · comments
the path context for loading the run
field has changed from the directory of the loaded file, to the current working directory.
This breaks a test in cwl-utils
: https://github.com/common-workflow-language/cwl-utils/actions/runs/6057702539/job/16439137675?pr=240#step:7:144
testdata/md5sum.cwl
is a CWL workflow with run: dockstore-tool-md5sum.cwl
referring to its sibling file: testdata/dockstore-tool-md5sum.cwl
@acoleman2000 Can you look into this? I can't release your enhancements to schema-salad until this is resolved. Thanks!
Possibly related to the changes at b96f052#diff-9b3bfeab727fa5c3302c6eda143a8379c03d1e89e8fa7011186c6154aa6ed3e1R743 (added call to check_exists
in new code at b96f052#diff-9b3bfeab727fa5c3302c6eda143a8379c03d1e89e8fa7011186c6154aa6ed3e1R145)
Ah, looks like it was an error in our cwl-utils test; we weren't setting the URI at https://github.com/common-workflow-language/cwl-utils/blob/cf9c592c5967aa303f32b50d3cc65205b5d63ff4/tests/test_parser.py#L42