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

Use re.search() when checking java version #60

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

natefoo
Copy link
Contributor

@natefoo natefoo commented Oct 3, 2017

We use $_JAVA_OPTIONS to set some global options for all java tools that run under Galaxy, but this causes the first line of java's output to be: Picked up _JAVA_OPTIONS: -Dfoo ..., which caused the version check to fail since re.MULTILINE doesn't work with re.match(), it just happened to work in most cases since in most cases, the first line of stderr was always the version line.

`re.MULTILINE` doesn't work with re.match().
@rrwick rrwick changed the base branch from master to development October 5, 2017 04:52
@rrwick rrwick changed the base branch from development to master October 5, 2017 04:54
@rrwick rrwick changed the base branch from master to development October 5, 2017 04:54
@rrwick rrwick merged commit d5023c5 into rrwick:development Oct 5, 2017
@rrwick
Copy link
Owner

rrwick commented Oct 5, 2017

Thanks for this! I've merged it into Unicycler's development branch, which is where I put stuff prior to the next release. It will end up in the master branch when I accumulate enough changes for a new release.

Ryan

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