jefferys / cwl

Common workflow language support
Other
2 stars 0 forks source link

Read in yml files as R objects #2

Closed jefferys closed 7 years ago

jefferys commented 7 years ago

As a core action needed to support running a cwl workflow, need to read in yml files and convert to an R object. Will try initially to use the Yaml R package and use the Hello world CWL example as the test for success. This is just the data file, not the cwl.

User API function call:

file <- "data.yml"
dataObj <- readCwlData(file=file)
jefferys commented 7 years ago

Easy for simple case where can load yaml as a list and where keys are all strings. Just need to use yaml::load_file(filename). Minimal implementation committed