Skip to content

Commit

Permalink
Remove lipid wdl from gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kheal committed Oct 1, 2024
1 parent ccaf1e3 commit 15317fe
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/wdl_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ jobs:
python -m pip install --upgrade pip
pip install miniwdl
- name: Test LCMS Lipid MiniWDL
run: |
miniwdl run wdl/metaMS_lipidomics.wdl -i configuration/lipidomics_metams.toml
# TODO KRH: Add these back in once the WDL and docker images are ready
# - name: Test LCMS Lipid MiniWDL
# run: |
# miniwdl run wdl/metaMS_lipidomics.wdl -i configuration/lipidomics_metams.toml

- name: Test GCMS MiniWDL
run: |
Expand Down
23 changes: 17 additions & 6 deletions wdl/metaMS_lipidomics.wdl
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
version 1.0

workflow lcmsLipidomics{
call runLipidomicsMetaMS
workflow lcmsLipidomics {
input {
# Path to the TOML file containing the configuration for the lipidomics workflow
File config_file_toml
}

call runLipidomicsMetaMS {
input:
config_file = config_file_toml
}
}

task runLipidomicsMetaMS{
task runLipidomicsMetaMS {
input {
File lipid_workflow_toml_path
File config_file
}

command {
metaMS run-lipidomics-workflow \
${lipid_workflow_toml_path}
#TODO KRH: This will be broken until docker image has been updated to include run-lipidomics-workflow function
metaMS run-lipidomics-workflow ${config_file}
}

output {
String result = read_string(stdout())
}

runtime {
Expand Down
3 changes: 3 additions & 0 deletions wdl/metams_input_lipidomics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"lcmsLipidomics.config_file_toml": "configuration/lipidomics_metams.toml"
}

0 comments on commit 15317fe

Please sign in to comment.