broadinstitute / wdl-ide

Rich IDE support for Workflow Description Language
BSD 3-Clause "New" or "Revised" License
40 stars 8 forks source link

https imports don't work in VSCode #27

Open aofarrel opened 1 year ago

aofarrel commented 1 year ago

A WDL can import another WDL over https, usually from raw.github.com. However, these imports aren't recognized properly by WDL DevTools, so any workflow with such an import throws an error such as Failed to import https://raw.githubusercontent.com/aofarrel/goleft-wdl/main/goleft_functions.wdl: [Errno 2] No such file or directory: '/aofarrel/goleft-wdl/main/goleft_functions.wdl'

Screenshot 2023-06-14 at 4 32 10 PM

This error also means running the WDL can't be done from the extension, even though it is a valid WDL as per Cromwell and miniwdl.

Screenshot 2023-06-14 at 4 37 28 PM
dinvlad commented 1 year ago

Thanks for reporting - would you mind submitting a PR please? If this requires just an update to MiniWDL dependency, this should be pretty straightforward. Unfortunately, I don't have much bandwidth to maintain this repo, and the effort hasn't been picked up by anyone else..