Skip to content

Allow testing dir of workflows#1095

Merged
jmchilton merged 2 commits intogalaxyproject:masterfrom
mvdbeek:allow_testing_dir_of_workflows
Feb 13, 2021
Merged

Allow testing dir of workflows#1095
jmchilton merged 2 commits intogalaxyproject:masterfrom
mvdbeek:allow_testing_dir_of_workflows

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Nov 2, 2020

No description provided.

@mvdbeek mvdbeek force-pushed the allow_testing_dir_of_workflows branch 2 times, most recently from 056264c to 18a41d3 Compare November 2, 2020 17:20
Copy link
Collaborator

@bernt-matthias bernt-matthias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments on my attempt to merge.

run_response = self._run(runnable, job_path)
return run_response
# TODO where is path comining from?
for runnable in for_path(path):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neither path nor for_path are defined here. Can you give me a few hints how to solve this?

kwds["workflows_from_path"] = True

# TODO this foo seems unimported (also not sure if works when called with id)
runnables = for_path(workflow_identifier)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before my merge for_path (which misses an import I guess) was called on workflow_path, but recently all workflow_path were replaced by workflow_identifier .. so this is likely broken with my commit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah, this was changed even before that. I think I found a less intrusive way to do this now.

@mvdbeek mvdbeek force-pushed the allow_testing_dir_of_workflows branch 4 times, most recently from 4a73b76 to 007bdf0 Compare February 6, 2021 19:45
@mvdbeek mvdbeek marked this pull request as ready for review February 6, 2021 19:46
@mvdbeek mvdbeek force-pushed the allow_testing_dir_of_workflows branch from 007bdf0 to 8d67a31 Compare February 6, 2021 19:49
@mvdbeek mvdbeek force-pushed the allow_testing_dir_of_workflows branch from 8d67a31 to 97a9134 Compare February 6, 2021 20:11
Co-authored-by: Simon Bray <32272674+simonbray@users.noreply.github.com>
@jmchilton jmchilton merged commit 1cb84f9 into galaxyproject:master Feb 13, 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.

4 participants