-
Notifications
You must be signed in to change notification settings - Fork 596
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
Yeah, maybe the environment matters (as to whether or not |
I'm not sure how this worked before, but adding a variable fixes it. @ahaessly, let me know what you think!