Skip to content
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

Do not override None with empty string #950

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

jdavcs
Copy link
Member

@jdavcs jdavcs commented Aug 8, 2019

This is a partial solution to #946; it addresses the IOError.
The cause for the error is described here: #946 (comment)

The edits prevent planemo from passing an empty string as the value of data_manager_config_file to the managed galaxy instance as part of kwargs. An empty string was resolved to the current directory and, due to stricter exception handling in galaxy (introduced in galaxyproject/galaxy#921) that caused an error.

This should work correctly for both cases, when a path exists (when it's a data manager) and when it doesn't ( when it's a regular tool or a directory).

Ping @jmchilton , @natefoo . (I am not at all sure this is the optimal solution here, but it's my best guess, for now.)

Partial solution to galaxyproject#946 (first attempt)
@jmchilton jmchilton merged commit 0bdc101 into galaxyproject:master Aug 8, 2019
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.

3 participants