Skip to content

Conversation

@martenson
Copy link
Member

I think this did not work in most of the cases due to the getcwd() call.

I think this did not work in most of the cases due to the getcwd() call.
"""
def __load(module_path, d):
module_pattern = join(join(getcwd(), code_dir, *module_path.split('.')), '*.py')
module_pattern = join(join(dirname(__file__), module_path.split('.')[-1]), '*.py')
Copy link
Member

Choose a reason for hiding this comment

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

I think the implementation of the pulsar variant and the Galaxy variant have diverged.
I think you could copy https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/jobs/runners/util/cli/__init__.py over and that should fix it too ? In either case we should unify these two before we diverge further.

Might even be worth to delete the Galaxy variant and only keep the pulsar code.

Copy link
Member Author

Choose a reason for hiding this comment

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

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