Skip to content

Improve dockstore_init#1177

Merged
jmchilton merged 3 commits intogalaxyproject:masterfrom
mvdbeek:improve_dockstore_init
Jun 23, 2021
Merged

Improve dockstore_init#1177
jmchilton merged 3 commits intogalaxyproject:masterfrom
mvdbeek:improve_dockstore_init

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Jun 23, 2021

File paths seem to necessarily start with /, see https://docs.dockstore.org/en/develop/getting-started/github-apps/github-apps.html#workflow-yml-file and planemo's own .dockstore.yml test files. planemo workflow_lint already checks for that in

referenced_path = os.path.join(directory, referenced_file[1:])

That means the .dockstore.yml file generated with the fix passes planemo workflow_lint, which I've used as the test case here.

Also adds the testParameterFiles array if a test file is present.

@mvdbeek mvdbeek force-pushed the improve_dockstore_init branch from c00ece0 to 5542ae5 Compare June 23, 2021 10:20
@jmchilton jmchilton merged commit dcbc338 into galaxyproject:master Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants