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

Fix partitioning in ImportGenome WDL #6939

Merged
merged 1 commit into from
Nov 5, 2020
Merged

Conversation

meganshand
Copy link
Contributor

I'm not sure how this worked before, but adding a variable fixes it. @ahaessly, let me know what you think!

Copy link
Contributor

@ahaessly ahaessly left a comment

Choose a reason for hiding this comment

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

that is weird. unless "set -e" has a return code. that would overwrite the one from bq show.
maybe used to have the "set -e" inside the if block. that must be it.

but looks good. thanks for fixing!

set -e
if [ $? -ne 0 ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

I think previously this $? was checking the exit code of set -e (the previous command)... not sure how that ever worked?! your variable is much more clear anyway

@meganshand
Copy link
Contributor Author

Yeah, maybe the environment matters (as to whether or not set -e has a return code)?

@gatk-bot
Copy link

gatk-bot commented Nov 4, 2020

Travis reported job failures from build 32042
Failures in the following jobs:

Test Type JDK Job ID Logs
cloud openjdk8 32042.1 logs

@meganshand meganshand merged commit 39dbb1a into ah_var_store Nov 5, 2020
@meganshand meganshand deleted the ms_partition branch November 5, 2020 15:59
kcibul pushed a commit that referenced this pull request Jan 29, 2021
kcibul pushed a commit that referenced this pull request Feb 1, 2021
Marianie-Simeon pushed a commit that referenced this pull request Feb 16, 2021
kcibul pushed a commit that referenced this pull request Mar 9, 2021
mmorgantaylor pushed a commit that referenced this pull request Apr 6, 2021
mmorgantaylor pushed a commit that referenced this pull request Apr 6, 2021
This was referenced Mar 17, 2023
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