Don't fail planemo autoupdate if tool version not found in tool shed#1305
Don't fail planemo autoupdate if tool version not found in tool shed#1305mvdbeek merged 3 commits intogalaxyproject:masterfrom
Conversation
|
@mvdbeek Should I make a test with a workflow with an invalid tool? If yes, do you have an invalid tool to propose? Or should I use a tool which does not exists? |
|
Regarding the other aspect: test if a repo is in the toolshed. Should it be part of planemo lint? or planemo test? |
Yep, I think that's best
👍 We've hardcoded the main tool shed in the update code and we skip tools that don't come from a tool shed.
I think planemo/planemo/workflow_lint.py Line 108 in 52fc229 _lint_tool_ids function in planemo/workflow_lint.py
That function could skip local tools (that don't have |
|
Oh, and into a function ... in |
|
So for info, if the tool is not in the toolshed: But the issue is when there is a version in the toolshed which is not the one that is in the workflow. |
Ah, right! |
mvdbeek
left a comment
There was a problem hiding this comment.
This looks great, happy to merge if you want to work on workflow_lint separately
|
I am close to it. |
|
Should it be a fail or a warn? |
|
I think fail is appropriate if the tool id looks like a tool shed id but is not found in the tool shed |
|
I think it is safer if I write another PR. |
|
Thanks |
|
Thank you! |
No description provided.