-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error importing TRS workflow #10359
Comments
I guess most people don't actually use whitespaces ? |
It was easy to reproduce. I'll see if I can figure out the problem. |
@jmchilton maybe that also helps: ga4gh/tool-registry-service-schemas#153 |
I can't fork your repo @mvdbeek because I have one of the same name and I can't push to yours. commit 48a7210dbb2113f2ad4d02bd8ba176b0219f2e9f (HEAD -> master)
Author: John Chilton <[email protected]>
Date: Mon Oct 5 15:45:34 2020 -0400
These need forward slashes I think, right?
diff --git a/.dockstore.yml b/.dockstore.yml
index f37de7d..8364fe3 100644
--- a/.dockstore.yml
+++ b/.dockstore.yml
@@ -1,7 +1,7 @@
version: 1.2
workflows:
- name: 'COVID-19 variation analysis on Illumina metagenomic data'
- primaryDescriptorPath: workflows/sars-cov-2-variant-calling/workflow.ga
+ primaryDescriptorPath: /workflows/sars-cov-2-variant-calling/workflow.ga
subclass: Galaxy
testParameterFiles:
- - workflows/sars-cov-2-variant-calling/workflow-test.yml
+ - /workflows/sars-cov-2-variant-calling/workflow-test.yml Is this problem this? |
The forward slashes were the problem, but that broke the tools and DAG previews in the dockstore interface, |
Odd - the DAG with Github Actions is working for a smaller workflow (https://github.com/jmchilton/galaxy-workflow-dockstore-example-3 | https://dockstore.org/my-workflows/github.com/jmchilton/galaxy-workflow-dockstore-example-3). I'll ping the Dockstore team and see if they have ideas. |
Is the problem now with the DAG, the import, or both? |
It sounds like the question is that the DAG is functional for https://dockstore.org/workflows/github.com/jmchilton/galaxy-workflow-dockstore-example-3:version_3?tab=dagbut not for https://dockstore.org/workflows/github.com/mvdbeek/workflow-testing-repo/COVID-19%20variation%20analysis%20on%20Illumina%20metagenomic%20data:master?tab=dag Looking superficially, it looks like part of the problem might be that there is a validation error, it seems to be parsing the test parameter file as a json when it is actually a yaml (might be an assumption since WDL and CWL use JSON) and it seems to be dragging down the rest of it. Edit: Looks like yes |
Hmm, https://dockstore.org/my-workflows/github.com/jmchilton/galaxy-workflow-dockstore-example-3 also specifies test parameters as yaml, but that's interesting, I can skip the yaml file for now (and I think JSON might also work for us ?) |
Created dockstore/dockstore#3851 |
We have deployed a local hack at usegalaxy.eu that makes it work on Dockstore and WorkflowHub.eu. usegalaxy-eu#85 Of course, this is just a hack and it would be nice if both TRS servers could behave identical. |
Re-reading the beginning of ga4gh/tool-registry-service-schemas#153 My understanding is that it seems like Dockstore can either use Can I confirm? |
Yes, this is true. The spec could be more clear. BioContainers and workflowhub.eu are using the ID to my knowledge. The |
We're supporting both now, so we can close this on our side, I think. |
I guess something in the mapping isn't quite right ?
https://dockstore.org/workflows/github.com/mvdbeek/workflow-testing-repo/COVID-19%20variation%20analysis%20on%20Illumina%20metagenomic%20data:master?tab=dag looks ok
The text was updated successfully, but these errors were encountered: