Skip to content
Snippets Groups Projects
  1. Sep 03, 2021
    • Marcel Loose's avatar
      Fix the mapping between CWL inputs, which are in JSON format, and Python... · 2b7fc297
      Marcel Loose authored
      Fix the mapping between CWL inputs, which are in JSON format, and Python types, for CWL steps that contain inline Python script.
      
      The solution is to convert the CWL `$(inputs)` once to a Python `dict`, by using the `json.loads()` function, passing the `$(inputs)` as a raw Python string. Next, any input argument can be accessed as an entry in a Python `dict`.
      
      Also, to avoid potential "Argument list too long" errors, all inline Python scripts that expand the `$(inputs)` argument are now automatically turned into a script *file*, instead of being passed as a (potentially huge) string on the command line.
      
      
      Former-commit-id: 250aa9d1
      2b7fc297
  2. Sep 02, 2021
  3. Jul 05, 2021
  4. Dec 09, 2020
  5. Dec 04, 2020
  6. Oct 12, 2020
  7. Aug 26, 2020
  8. Jul 08, 2020
Loading